SyntaxFix
Write A Post
Hire A Developer
Questions
Try this one:
onsubmit="return f(this.'yourfieldname'.value);"
I hope this will help you.