klwillis
Posts: 428
|
Posted: 06/28/2004, 12:00 AM |
|
The following works - where 'Status' is a ListBox
within the form 'Tasks':
$Tasks->Status->Values = array(
array("1", "High"),
array("2", "Normal"),
array("3", "Low")
);
If you want to create a listbox with percentages going
from 1 to 100, how could you insert the values into the
listbox programatically without listing each one as above?
I basically want to achieve something like this
for the generated HTML ...
<option value="1">1%</option>
<option value="2">2%</option>
.
.
.
<option value="100">100%</option>
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
|
|
|