Does anyone know if we can select the Previous/Next button in a multi step form with JavaScript?
I have a form that accepts file attachments and I have a workflow for it that is triggered by button I added through metadata. The problem is that workflow runs before the record is saved with the attachments. I'm trying to get around this by forcing the page the save somehow.
I've done something similar with other buttons but can't seem to get it to work for the Next/Previous buttons.
Example below will successfully click the workflow button: