|
Found the problem …
it was a totally different one … I would have never looked in that
direction. On my form I had one button for submitting with validation (simple
submit widget) and several other buttons for doing all sorts of stuff. As the
submit button is used for submitting I called it “submit” (pretty
cool Idea?!?) … well. It seems that Idea was not so good after all. When calling
the form.submit() in the forms-lib.js the js-engine sort of gets confused with
the element with the id “submit”, which is a child of the form
element and the function submit which belongs to the form-object. After changing the submit-buttons Name from “submit” to
“save” everything is working like a charm. I sort of really hate these problems, that eat up your time and the
solution is no real satisfaction L Well how about putting that in a HowTo or in the docu of the
action-widgets. Tanks any way, Chris Von: Philippe Gassmann
[mailto:[EMAIL PROTECTED] Christofer Dutz wrote: Hi I am having some Trouble submitting
a form with anything else than a button. With buttons everything is fine, when
using a link for example nothing happens and my browser (InternetExplorer) complains
about a not supported function. While debugging I traced the problem down back
to the last row of forms_submitForm(element, name) in forms-lib.js This is the
command that seems to be failing: form.submit(); I don’t understand why. The
object is a form-tag an so it should support the submit() method. Why doesn’t this work? Chris You have to know the submit id of the submit widget
you want to submit (humm a lot of submits...). One you know that you can do
something like : -- Philippe GASSMANNSystèmes d'InformationANYWARE TECHNOLOGIESTel : +33 (0)5 61 00 52 90Fax : +33 (0)5 61 00 51 46http://www.anyware-tech.com/ |
- Re: [CForms] Form not submitting Philippe Gassmann
- AW: [CForms] Form not submitting Christofer Dutz
- Re: AW: [CForms] Form not submitting Philippe Gassmann
- AW: AW: [CForms] Form not submitting Christofer Dutz
