This plugin allows you to create an easy Web2Lead form for Edvisor.io. Filling out the form allows the information to go directly to the student section in Edvisor.io.
###How to install
- Download as zip format
- Upload zip file via Wordpress Plugins
###How to use
- First add an Agency ID and an API Key then hit 'Save All Changes'.
- Add any options you want included in your form, and save again. Make sure to full out the details by clicking the edit button.
- Include the short code [edvisor_form] into your post/page/widget.
####How to make a field required
- Check the checkbox labeled required.
####How to add your own dropdown
- Some fields have the option to add your own dropdown. If the field has the option, you can select 'Dropdown' from the type field.
- After you check the checkbox, an option to '+ Add More' will appear. Click to add more options into your dropdown.
- Fill the field with what you want the option to say.
- Destinations and City, Provices/Regions options must be selected from the list of places shown when you type into the field.
- You can delete an option by clicking on the x.
####How to add a custom field
- Click the add button, and choose custom field.
- Match up the options you have in your custom field in Edvisor to the options here.
- The Label Name can be whatever you want shown, but the custom field type (dropdown/text/date), the ID, and if using a dropdown, the dropdown options must be the same as the fields in Edvisor.
####Settings
- Submit text is the text on the button
- Required Validation Message will only show on fields that are required.
- Email Validation Message will only show if the email is wrong.
- Success Action is what happens when a form has successfully been submitted. It has two options. A message or a URL.
- A Message will display at the bottom of the form.
- A URL will redirect to the url provided.
- The fail message will show when something goes wrong with the form.
####CSS
- You can change the look of your form by adding css here.
- For example
``` will add a padding of 20px around your form and make it a width of 400px.
####Javascript
- Don't touch this if you're not sure what you're doing. Contact Edvisor if you need help.
- There are two text areas for Javascript.
- 'General' will be applied before the code will run. Here you can inject code into the form.
- 'Before Post' will be applied right before it makes the AJAX POST. Here you can change the data before it gets posted to the Edvisor API. You can change the data by access the variable 'data' object.
####Notes
- Edvisor API Docs http://docs.edvisor.io/