Set TextField value when Data present.


i have form want prices appear when data in textfield present. if "textfield a" contains data have textfield b show $20.00. if "textfield a" becomes blank "textfield b" blank also.

hi,

 

if place following javascript in calculate event of textfieldb,

 

if (textfielda.rawvalue != null) {      this.rawvalue = "$20.00"; } else {      this.rawvalue = null; }  

 

that should work,

 

niall



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support