cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically Visibilty of Input Field in Interactive PDF Form

Former Member
0 Kudos

Hi All,

I want to bind the visibilty of Input Field dynamically in an Interactive PDF Form. How can I do ?

Please give me some solution

Regards

Manish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

You can achieve this in Javascript or FormCalc. Lets say your Input Field is inputName. ON form:initialize event add the following code and change the language to Javascript:

inputName.presence= "invisible";

The Designer help is very useful in such cases. Please refer it.

Thanks,

Sunitha Hari.

Former Member
0 Kudos

Hi Sunitha,

Can u please tell me in details so that I can understand easily?

Thanks & Regards

Manish

chintan_virani
Active Contributor
0 Kudos

Manish,

Well select the inputfield & check the Scripting Window in your Designer.

On its top, you will see an option something as Show: Events with Scripts.

Select the initialize event and insert the code she mentioned. Then click on + sign. This will enter your changes.

There will be language option on top as well. Select JavaScript from it.

So in the end your code should read something like this.

----- data.<YourFormName>.txtInput::initialize: - (JavaScript, client) ----------------------------------

txtInput.presence = "invisible";

Chintan

Answers (0)