Sorry if this has already been posted, I couldn't find it anywhere
Got a strange problem with my element javascript.
I have 2 forms and 2 groups. First form points to the second assuming the user agrees to a disclaimer. This works fine. Initially I write my own script and had the 2 groups on the same page, hiding and showing the relevent part of the form, but the Javascript worked erratically so I split it up. The 'submit' button now does all the work and this works fine.
The main form is still erratic though. This is what happends.
First use of the form. The javascript may or may not run. (javascript for date fields always work). Using the form again it rarely works. If you refresh the page it usually works.
The javascript in question is attached to a button which does a simple calculation, but I don't think the javascript is the problem. This is because when I had two buttons on the same form they either both worked or neither worked.
The first form (that leads to the second is on
http://www.alpineskiclub.org.uk/component/option,com_fabrik/Itemid,58/
Has anyone seen this behaviour before?
Best Regards
David
Got a strange problem with my element javascript.
I have 2 forms and 2 groups. First form points to the second assuming the user agrees to a disclaimer. This works fine. Initially I write my own script and had the 2 groups on the same page, hiding and showing the relevent part of the form, but the Javascript worked erratically so I split it up. The 'submit' button now does all the work and this works fine.
The main form is still erratic though. This is what happends.
First use of the form. The javascript may or may not run. (javascript for date fields always work). Using the form again it rarely works. If you refresh the page it usually works.
The javascript in question is attached to a button which does a simple calculation, but I don't think the javascript is the problem. This is because when I had two buttons on the same form they either both worked or neither worked.
The first form (that leads to the second is on
http://www.alpineskiclub.org.uk/component/option,com_fabrik/Itemid,58/
Has anyone seen this behaviour before?
Best Regards
David