Hiding a Field Using Javascript in Adobe Form based on the condition


Now drag and drop the fields from the Data view to the form.  

Select object name ->go to Palettes->Click on Script Editor.

This script will hide the field in runtime if it is initial.

Enter the below JavaScript in the editor & Select the language as JavaScript.  

if(this.rawValue == null)


  this.presence = "hidden";


Save and activate the form.  

Execute the form to see the below screen.  

Here for output we will have two scenarios.   

SCENARIO 1: Position Title is not initial  

SCENARIO 2: Position Title is initial  


Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image