You are viewing limited content. For full access, please sign in.

Question

Question

Set value of form variable using javascript

asked on October 16, 2014

How to set value of variable using javascript in forms? I want to then use that variable in field rules to show and hide some fields

0 0

Replies

replied on October 16, 2014

How is the value going to be set? For instance, would it be assigned a value if an option on the form is selected and another value if a different option is selected? Does it just need to be a static (non changing) value?

If it can be a static value, you can set the fields default value to the value you want. No javascript required.

1 0
replied on October 16, 2014 Show version history

I want to set the value of the variable in javascript based on the results of my web service call. The web service is returning a value and I want to set that value to the variable. It will not be static.Thanks.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.