dropdown(rated) fields in straight html so we can populate them

Re: dropdown(rated) fields in straight html so we can populate them

by Timothy Takemoto -
Number of replies: 0

Ah, the value seperator was at the top of the page.

I did an echo itemp->presentation and then edited a created drop down menu to find this (the seperators can be defined at the top of the drowndownrated/lip.php file.

1####Yes|2####Probably|3####Probably Not|4####No

So

The following change

$item->presentation=empty($item->presentation)?'':$item->presentation;

to

$item->presentation=empty($item->presentation)?'1####strongly disagree|2####disagree|3####midly disagree|4####neither disagree nor agree|5####mildly agree|6####agree|7####agree completely':$item->presentation;

Seems to work. remember to save lib.php using UTF-8 ecoding if using a non ascii language.

Hack with great care, on non production systems after backing up. 

Tim