Copy link to clipboard
Copied
I'm basically trying to get an event registration form to add to the total when a user selects an option with a checkbox.
The simplest snippet I could find was this, however I am having trouble implementing it.
Checkbox Options Payment Form - JSFiddle
I recreated it locally and it worked fine.
However when I add it to my BC site the total does not change. I have tried linking to a seperate JS file, and running it inline. Locally I noticed that if I did not call jQuery before the script, it would not run, so I added a link to jQuery above in my catalyst site with no luck.
Can anyone please point me in the right direction as I have very little JS knowledge, could it be something else conflicting with the code?
The form I'm building:
http://www.theshedskatepark.com.au/1.5/Content_Template.html (To find the form you will need to select Week 1 camps, Week 1 half day camps and select the first option.)

Copy link to clipboard
Copied
After struggling with this for the last 24 hours.. I think I may have found a fix. It looks like the <label> tags were interfering with things, it seems to work now I've changed them to <p> tags.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more