I am fairly new to the whole scripting idea in both Javascript and Formcalc for forms. I have created a form that needs some dear attention. What I am trying to do is autopopulate text fields based off the checkbox, if it's turned on or not.
Example: Once the property information - property name, street address, city, state and zipcode (at the top of form) is filled in. If the check box is checked in the Payer information section (at the bottom) it will enter the information from the property information in the address fields below in the assigned text fields.
Here is my Javascript code (not complete):
FLContract.#subform[0].PayerName::calculate - (JavaScript, client)
var a =""
if (this.getField(CheckBoxPropertyInfo).value == 1)
{
a=PropName.value
}
event.value=a