Either/or Text Fields


hi, have form has 2 text fields.  owner of form wants set if text entered 1 of 2 text fields, no data can entered other text field.  there simple script can used accomplish this? 

 

i have adobe acrobat x.

 

thanks assistance this.

connie

put in custom validation script field 1 (change value 'field2' in first line match name of field 2)

 

var ofield = this.getfield('field2')

if (event.value == '') {

     ofield.display = display.visible

} else {

     ofield.display = display.hidden

}

 

do same field2, using name of field1 in first line.



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support