Jump to content

Click a radiobox option, insert calc result in another field?


BowDown
 Share

This topic is 5737 days old. Please don't post here. Open a new topic instead.

Recommended Posts

If the user is filling out a form, and clicks "YES" as a radio button for field 'completed', is there a way to automatically do a calculation and put it into field 'total' ?

I would like it to do a different calculation depending on which radio option was selected. This without the user knowingly running a script.

Link to comment
Share on other sites

You can use a merge field and change it to a "button" so that when the user clicks on it, it triggers the script step "Insert calculated result..." or you can also write a script then use "Get (ScriptParameter)" for example:

If Get (ScripParameter) = "Yes"

Insert calculated Result [Total; Field A * 1.15]

Else

Set Field [Total; Field A]

End if

You can set it up in a way such as:

Charge Tax for this item? YES / NO

So that when user click YES, charge a tax of 15% on the value contained in Field A, otherwise do not charge tax (item is tax exempt).

Edited by Guest
Link to comment
Share on other sites

This topic is 5737 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.