Announcement Announcement Module
No announcement yet.
Form Validation on webscripts Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 and 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