-
Mar 29th, 2010, 02:28 PM
#1
Form Validation on webscripts
Hi Guys,
I'm trying to validate a form in webscript
i have a webscript GET (webscript.get.html.ftl) that shows the form with some input text fields
and a submit button that make a POST ( to webscript.post.html.ftl and webscript.post.js) i want to validate the form fields,
On the post js i hava some code for validation, but if some field is invalid, i want to show the form again (webscript.get.html.ftl) showing the errors
but how can i redirect from a webscript to another webscript???
i don't know if this is the best way, may be you can suggest me something
maybe it is a little odd that i'm using the the webscript to validate, but this is because, i manage the business logic in another application that publish webservices, my surf application doesnt contains java
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules