Loading
Building your Forms
Input Validation
Conditional Questions
Form Calculations
Customization Options
Interactive Tutorials
Web Form Design Tips
Managing your Forms
Publishing your Form
- How to retrieve your form's HTML source code
- How to publish your form using a IFRAME
- How to publish your form using a server-side script (API)
- Publishing instructions for common CMS
- How to dynamically prefill your form fields
Configuring Optional Features
- Restricting processing by date or status
- Language settings
- 'Save & Resume Later' option
- 'Preview before Submit' option
- Secure forms (SSL encryption)
- Spam Filter (captcha)
Submission Confirmation and Notifications
- How to redirect your visitor to a web page after the submission.
- How to receive an email for each submission.
- How to easily reply to the person who submitted the response.
- How to customize the email notification.
- How to send an auto-responder with each submission.
Dynamic Configuration with Formulas
Sharing Forms and Data
- How to allow another user to edit your form.
- How to add another user to your account.
- Feature Restrictions
Workflows
Managing your Data
How to Export your Data
Troubleshooting
Publishing Issues
- Unexpected characters in the form, such as 'À' or ''
- Incorrect rendering when publishing via the API
Form Submission Issues
Export Issues
- Error: 'File not loaded completely' in Excel
- Garbled characters in Excel
- Repeated sections cannot be sorted in Excel
Managing your Account
PayPal Subscription
- How to change your PayPal funding source
- How to switch your subscription to a different PayPal account
- How to cancel your PayPal subscription and pay directly with a credit card
Connectors Documentation
Salesforce Connector Documentation Index
PayPal Connector Documentation Index
HTTP POST Connector Documentation Index
Not finding what you need? Please open a support request.
Advanced Customization Options for Repeatable Sections
The code samples provided below can be added to your form using the Form Builder "Custom Code" field. Here's how it works:
- Open your form in the Form Builder.
- Click on your form's name in the outline and open the 'advanced' properties panel.
- Copy and paste the code in the "Custom Code" field:
- Make any modifications as needed.
- Save your form.
- Some javascript customization may not be effective in the Form Builder preview, so be sure to test using the live form on FormAssembly.
Limiting the number of repeated sections
Here's the most basic way to handle this. All repeatable sections can be repeated up to a specific number of times (here 5).
<script type="text/javascript">
wFORMS.behaviors.repeat.allowRepeat = function(elem, b){
var max = 5; /* <- change this as needed */
var c = b.getSectionsCount();
if(c>=max) return false;
return true;
}
</script>
If you have several repeated sections in your form and you need to set different maximum values, you can test the elem variable to see what element is being repeated. For instance:
<script type="text/javascript">
wFORMS.behaviors.repeat.allowRepeat = function(elem, b){
switch(elem.id) {
case "tfa_contacts":
var max = 5;
break;
default:
var max = 3;
}
var c = b.getSectionsCount();
if(c>=max) return false;
return true;
}
</script>
You will need to refer to the HTML source code of your form to find out the relevant element ids.
Changing the name of a repeated section
In this example, the label of the fieldset (<legend> tag) is modified with the count number.
<script type="text/javascript">
wFORMS.behaviors.repeat.onRepeat = function(elem) {
var m = wFORMS.behaviors.repeat.getMasterSection(elem);
var i = wFORMS.getBehaviorInstance(m, 'repeat');
var count = i.getSectionsCount();
var l = elem.getElementsByTagName('legend');
l[0].innerHTML += " #"+count;
}
</script>