Forums

Submit Form on Dropdown change?

2D77rus 03 Sep, 2019
Hello!
Say I have a simple Form with only Dropdown and no Submit button, and I want this Form to be sent when a user selects a value from Dropdown list.
Could you give an example how this can be done?
Thank you.
healyhatman 03 Sep, 2019
Answer
1 Likes
With jQuery
jQuery(document).on('change', 'select[name="nameofyourselectfield"]', function() { jQuery('.ui.form').form('submit'); } );
2D77rus 04 Sep, 2019
Thanks! That works.
This topic is locked and no more replies can be posted.