html checkboxes mod

From: Date: Tue, 20 May 2003 13:55:16 +0000
Subject: html checkboxes mod
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9581@lists.php.net to get a copy of this message
I have modified the html_checkboxes to utilize the Label tag. This allows the user to click on a piece of text to check the checkbox, very similar to a GUI environment. This should also be implemented for the html_radio function I also modified the options input because if you said: $options = array('Budwiser' => 'Bad', 'Molson' => 'Good'); your would get: <input type="checkbox" value="Budwiser"> Bad <input type="checkbox" value="Molson"> Good Intuitively, I would expect to get the Key as the word and the Value as the checkbox value, does this make sense? ____________________________________________ Andrew S. Nagy Lead Applications Developer Living SchoolBook Syracuse University (315) 443-3450 http://lsb.syr.edu

« previous php.smarty.general (#9581) next »