Skip to main content
Participant
Jun 15, 2020 11:08 AM UTC
Question

Javascript using Checkbox reference to submit

I have a form with a submit button that sends the form to certain email address.  I have a check box for a specific part of the form that when checked, would add another email to the submit button.  The submit button works fine but i can not figure out how to get it to look at the check box and if checked, add an additional email address when it is submitted.  

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

try67
Community Expert
Community Expert
Jun 15, 2020 12:42 PM UTC

Post your current code, please, as well as the name of the check-box in question.

Translate
Participant
Jun 15, 2020 1:09 PM UTC

So i have my submit button coded to do two things currently 

First is to submit the form using that function from the Action

The second thing it does is Reset the Form.  

I have not attempted to code the 3rd action to the point it is saved and not working.  What i have tried didn't work since i am new to this so i just cleared it out.  Here is a photo of the properties of my submit button. 

Lastly, the check box i need to reference is called OtherWork

 

 

 

Translate
try67
Community Expert
Community Expert
Jun 15, 2020 1:41 PM UTC

You have to do it all using a script.

Translate