Hide/unhide form field based on other form text field is empty or not
Hello.
I am not really good with javascrip. How can I solve that I like to make a form text field only visible if the previous form text field is filled. Thanks
Hello.
I am not really good with javascrip. How can I solve that I like to make a form text field only visible if the previous form text field is filled. Thanks
It's possible but you will have to enter script into each field.
You will use scripts as 'custom keystroke script'.
Go to field properties -> format tab and select 'custom' then 'custom keystroke script' (when you enter script it will disappear but it will still work).
for row1:
put this in "ItemName1" field:
this.getField("MaterialNumber1").display = AFMergeChange(event).length != 0 ? display.visible : display.hidden;
put this in "MaterialNumber1" field:
this.getField("ItemQuantity1").display = AFMergeChange(event).length != 0 ? display.visible : display.hidden;
Repeat for other rows by changing field names in script.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.