Reply To: display text of Select instead of values

Home Forums Quform PHP display text of Select instead of values Reply To: display text of Select instead of values

#38077
sanjeev
Participant

Hi,

The reason I did not put the text directly in the value attribute is that there is already an existing activity_master in mysql db from where details are pulled therefore I have to go with id-name setup.

As you said, I already added following code in process file but it did not work:


$activityname = new Quform_Element('activityname', 'Activity Name');
$activityname->addFilter('trim');
$form->addElement($activityname);

If above can work it is fine with me. Otherwise the only workout I can think of is adding an element or replacing value of an element somehow.

Thanks.

Be inspired. © 2026 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy