Hi all,
I'm using CForms and the binding framework to edit an XML document. That's
working great. What I'd like to do is validate the document against an XML
Schema after it's been updated with the values from the form. How can I
achieve this?
The flowscript which controls the form at the
Vilya Harvey wrote:
What I'd like to be able to do is insert some code after the
form.save(...) line which validates the form, and loops back to the
form.load(...) line if validation fails. Any suggestions?
Sounds like a simple while loop might do the trick.
var isValid = false;
function
Hi,
Simon Hutchinson wrote:
Vilya Harvey wrote:
What I'd like to be able to do is insert some code after the
form.save(...) line which validates the form, and loops back to the
form.load(...) line if validation fails. Any suggestions?
Sounds like a simple while loop might do the trick.
I'm
Vilya Harvey wrote:
I'm sorry I didn't make it clear, but it's actually the code to perform
the validation that I'm looking for. I have no problem writing loops in
JavaScript! Thanks for the reply anyway,
Should have mentioned, but this is what I've tried so far:
==
function