nitcalicut / Paathshaala

Social Content Repository for NITC
www.paathshaala.nitc.ac.in
GNU General Public License v3.0
12 stars 7 forks source link

form validation #19

Closed jaseemabid closed 12 years ago

jaseemabid commented 12 years ago

Need a uniform and standard way of form validation. jQuery plugins which can do all the required tasks is fine or custom codes required. Currently needed for join and new video submission.

nxvipin commented 12 years ago

Try Jquery validation. Modify it if it does not satisfy our requirements :)

Regards, Vipin Nair, National Institute of Technology, Calicut http://gplus.to/swvist

jaseemabid commented 12 years ago

I haven't explored it much. Will do it soon. We need regular expression check for some fields like roll numbers, ajax check for username and both for emails to see if it has been already taken. A bit complicated task.

jaseemabid commented 12 years ago

Hard coded both validation functions. validateVideo() @ SHA : df8416a41a80001cbe2761040ae1304104737242 validateJoin() @ SHA : 50bacfb3953f833e2b0d2f8ee3ee2c9cb79e434c