cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding a field in Adobe form

Former Member
0 Kudos

Hi All,

My requirement is to hide the input field when it is initial.I am using the form calc scriptiong to do the same but i am unable to hide the field.

For example: My form has only one field

User Name Developer

when it is developer nothing should display

I am using the belwo written code:

If($record.VALUE == "Developer")

$record.VALUE = "HIDDEN"

Endif.

Can anybody help me resolving this issue.

Regards

Lalit

Accepted Solutions (0)

Answers (1)

Answers (1)

OttoGold
Active Contributor
0 Kudos

Hello,

first: note there is Adobe forms forum under NetWeaver

second: use JavaScript like this: (place it on the field you want to hide or change the path accordingly)

if (this.rawValue == "Developer")

this.presence = "hidden";

else

this.presence = "visible";

when I look on your code: value cannot be HIDDEN, value is "developer", presence is "hidden" (I think the case of the letters is important!). Hope that helps, Otto