Jump to content

Best way to remember checked status on postback


webref.eu

Recommended Posts

Thanks for your reply. 

 

To clarify, I meant to remember whether that the user had decided to check the checkbox or not.  i.e. if they check it and then postback the form, and the form has to be redisplayed because of an error in another field, the form should redisplay with the checkbox checked. 

 

Rgds

OK guys, I've come up with the solution and put together an explanatory tutorial: 

 

http://www.webref.eu/php-script-remember-checkbox-status-on-postback.php

 

It works as I wanted, but if anyone has any comments, please post here. 

 

Rgds

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.