reptar
12/15/2023, 9:45 PMform.requestSubmit()
to submit the form, so it can hit POST in my SuiteLet, only now I'm getting weird behavior where I can click the regular submit button and it will submit both lists. Same with the custom button. I need to prevent users from clicking the wrong button and/or checking the wrong list, but I can't seem to identify from POST which button was used.erictgrubaugh
12/15/2023, 9:59 PMPOST
handler. If it's empty, the main Submit was clicked.Mike Robbins
12/15/2023, 10:00 PMrequest.submitForm()
, the whole thing is submitted. You could have a hidden field and set a value in that right before your custom button calls submitForm()
then your suitelet checks the value of that field.reptar
12/15/2023, 10:00 PMreptar
12/15/2023, 10:01 PMreptar
12/15/2023, 10:45 PM