I have a form where i have ticked submit this form without reloading the page (use AJAX)
I have that ticked the page does not refresh which is great and i go to add another entry it does not add(submit) the additional entries.
So it only adds the first one.
If i switch off the option on the form the page refreshes each time and adds each entry
I prefer to to have it refresh as ajax method is much much faster.
Any ideas
Tony
Hi Shane
To access the page you will need a login , but i can provide the follwing information
1. The page is a divi page using the text module
2. In the text module i have
Back to [wpv-post-title item='[wpv-search-term param='parent_planner-event_id']']
[cred_form form='add-delegate']
3. The Post Form has this
[credform]
[cred_field field='form_messages' class='alert alert-warning']
<div class="form-group hidden">
<label>Delegate Group Title</label>
[cred_field field='post_title' class='form-control' value='delegate' output='bootstrap' ]
</div>
<div class="form-group">
<label>First Name</label>
[cred_field field='first-name' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="form-group">
<label>Last Name</label>
[cred_field field='last-name' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="form-group">
<label>Delegate Email</label>
[cred_field field='delegate-email' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="form-group">
<label>Email Request</label>
[cred_field field='email-request' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="form-group hidden">
<label>Planner Event</label>
[cred_field field='@delegate-group.parent' class='form-control' output='bootstrap' select_text='--- not set ---']
</div>
[cred_field field='form_submit' output='bootstrap' value='Submit' class='btn btn-primary btn-lg']
[/credform]
css editor has this.
.hidden { display:none}
The settings on Post Form :_
Form Submit Ticked Submit this form without reloading the page (use AJAX)
After visitors submit this form , is set to Keep displaying this form
Hope that helps
Tony