Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
struts2jquery - Stopping form submission
James Peter
Ranch Hand
Posts: 115
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
Below is my code for form submission
<s:form id="createAccountForm" action="create-student-account" theme="simple" validate="true"> ...... ... <sj:submit targets="serviceResponseTextDiv" button="true" validate="true" onBeforeTopics="removeErrors" onSuccessTopics="removeErrors" validateFunction="createStudentAccountValidation" value="%{getText('UI.C.Save')}" indicator="indicator" id="submit_button_CreateAccount" onSuccessTopics="CreateStudentAccountResponse" onClickTopics="clearCreateStudentAccountErrorMessage" /> </s:form>
My requirement is to stop form submission depending on some condition.
Please let me know how to do.
Thanks in advance
Peter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
After validate ajax form not redirect to success or error result
struts2jquery form submission (how to stop)
action called twice in IE 8 when using different ajax submit for the same form
Struts 2.1 javascript field validate
More...