Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9244767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:06:54+00:00 2026-06-18T09:06:54+00:00

I have a complex form with some fields that are generated on the fly

  • 0

I have a complex form with some fields that are generated on the fly using JS/jQuery.

The problem with this generation on the fly is the complexity to validate this fields on the server side. I don’t know if I should store the generated forms and values generated by the JS and try to validade on the server side or by other hand use another approach like validate all on the client side(easier I think).

  • My question 1 is: It is possible to do all validations using JS? There is some JS validation framework that will help me on this task? I’ve goggled and have found LiveValidation(www.livevalidation.com), is this what I need?

  • Question 2: What problems I will have using this kind of approach(validata all on the client side)?

Some clues, thoughts?

Best Regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:06:55+00:00Added an answer on June 18, 2026 at 9:06 am

    André, we do that all the time. Javascript validation is a key point and has to be performed before a submit occurs, the main reason being

    • to make the site / page user friendly
    • not to actually check, verify, fix the data before it is sent to the server, since the JS validation can be easily bypassed (so there should always be another round of checking server side), thanks to Firebug, Chrome… and a bunch of command line tools.

    You use JS validation to, for instance

    • ensure the user filled all mandatory fields, and point to the missing field (focus)
    • check the type of the data entered, and warn user
    • ensure fields consistency (card number, birthdate, fieldX with fieldY…)
    • …

    Besides, to answer your last question, and to paraphrase the beginning of the answer (doesn’t hurt)

    • JS validation does not ensure the data sent to the server is clean / solid / consistent (it cannot as JS validation can easily be bypassed)
    • the server has to perform the same validation – or stronger – on all fields, and never trust the user input (SQL injection risks etc…).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web app that has a big and complex form (fields, checks,
I have a complex html-Form and am using jQ for some of the work
I'm have a fair complex Form that I am trying to create in Play
I have a fairly complex html form enhanced via jquery. It has multiple tabs,
We have a complex app that serves AJAX JSON streams (using ADO to grab
I have a fairly complex model needing to be validated, the problem is that
I have some complex validation going on with my symfony form, and I need
I have a rather complex form in the way that the number of form
I have a form that I currently enumerate with some Javascript functionality and then
I have a very simple contact form with fields like this: <label> First Name<em>*</em>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.