Welcome Guest, Not a member yet? Register   Sign In
Server or Client side validation?
#1

[eluser]Mr Lazy[/eluser]
Hi,

I have a one field form using the CI validation class, and I must say it is neat. But I also have a page in my application with a large number of checkboxes on it that are dynamicaly displayed based upon data from the database.

My question is, if the validation fails on that page, how do I persist the data? I cannot define it in the controller before hand as I do not know what checkboxes will be on that page.

I am thinking of using client-side (jQuery) validation that can do the validation and there will be no screen refresh, so on screen data persistence will not become an issue.

I am interested to know what experienced CI/PHP folks think about this.

Thanks,
Lazy


Messages In This Thread
Server or Client side validation? - by El Forum - 10-01-2008, 12:42 AM
Server or Client side validation? - by El Forum - 10-01-2008, 12:54 AM
Server or Client side validation? - by El Forum - 10-01-2008, 12:58 AM
Server or Client side validation? - by El Forum - 10-01-2008, 01:19 AM
Server or Client side validation? - by El Forum - 10-01-2008, 01:31 AM
Server or Client side validation? - by El Forum - 10-01-2008, 01:32 AM
Server or Client side validation? - by El Forum - 10-01-2008, 02:10 AM
Server or Client side validation? - by El Forum - 10-01-2008, 03:42 AM
Server or Client side validation? - by El Forum - 10-01-2008, 04:32 AM
Server or Client side validation? - by El Forum - 10-01-2008, 04:38 AM
Server or Client side validation? - by El Forum - 10-01-2008, 04:44 AM
Server or Client side validation? - by El Forum - 10-01-2008, 05:00 AM
Server or Client side validation? - by El Forum - 10-01-2008, 06:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB