reptar
12/08/2023, 5:31 PMreptar
12/08/2023, 5:32 PM"F"
when using request.getSublistValue()
. Thoughts on what's going on here? I must be doing something ridiculous, but I can't figure out what I'm doing wrong.reptar
12/08/2023, 5:35 PMreptar
12/08/2023, 5:37 PMsubmit()
from the client side - using a custom button instead of the built in submit button).erictgrubaugh
12/08/2023, 5:40 PMThis method is similar, but not identical to, activating a form's submit <button>. When invoking this method directly, however:
• No submit event is raised. In particular, the form's onsubmit event handler is not run.
• Constraint validation is not triggered.
erictgrubaugh
12/08/2023, 5:40 PMerictgrubaugh
12/08/2023, 5:41 PMconst submitForm = (id) => jQuery(id).submit()
// ...
submitForm('#main_form')
reptar
12/08/2023, 5:44 PMrequestSubmit()
fixed it. huherictgrubaugh
12/08/2023, 5:45 PMonsubmit
handler is what collects all the valuesreptar
12/08/2023, 5:45 PMerictgrubaugh
12/08/2023, 5:46 PMsubmit()
road, but I must have had the jQuery submit method in my headreptar
12/08/2023, 5:46 PMreptar
12/08/2023, 5:51 PMjQuery('#main_form').submit();
reptar
12/08/2023, 5:51 PMreptar
12/08/2023, 5:52 PMdocument.getElementsById('main_form')[0].submit()
reptar
12/08/2023, 5:52 PMreptar
12/08/2023, 5:53 PMdocument.getElementsById('main_form')[0].requestSubmit()
reptar
12/08/2023, 5:53 PMerictgrubaugh
12/08/2023, 5:54 PM<form>
instance, so long as you use requestSubmit()
(which jQuery must) instead of submit()