This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
phplee
I have a AJAX form that i want to submit based on a toggle switch. however if i use this below it submits normal and not AJAX. Any ideas how i can submit an AJAX form using anything other than a submit button. thanks
onchange="this.form.submit();"
maraerben
I used <select>...</select>
and following example worked:
<select data-request="{{ __SELF__ }}::onFilterSelect">
<option>...</option>
<option>...</option>
</select>
Where onFilterSelect
is method in controller to process form.
Last updated
1-2 of 2