Form Builder Pulldown Values

Patch for multilingual modules
Locked
oliverseddon
Forum Members
Forum Members
Posts: 89
Joined: Thu Aug 21, 2008 11:47 am

Form Builder Pulldown Values

Post by oliverseddon »

Hi,

I currently have Form Builder 0.5.11 installed and have a form build which, using a Javascript call on a button updates preview fields depending on the values of inputs in my form. My only stumbling block is getting the value of my dropdown select options to be the same as the value displayed instead of being a numeric value. This is because my JS call grabs the value of the option field to use in the preview area.

So my question is, where can I find the code that creates the option elements and can I alter this to pull in the name and value added when creating the element using FB rather than the numeric value currently used?

I have scoured the FieldBase.class.php and PulldownField.class.php files, but can't see where the options are created.


Fingers crossed.

Thanks
oliverseddon
Forum Members
Forum Members
Posts: 89
Joined: Thu Aug 21, 2008 11:47 am

Re: Form Builder Pulldown Values

Post by oliverseddon »

I have managed to get round this by changing my JS so it pulls in the options text rather than the value.

I have however stumbled across another problem with a different form.

I have multiple text inputs, Name x5 and Job x5 each has a file upload field associated with it. My problem comes when I try submitting the form, I get the following message:

Warning: Parameter fbrp_callcount is not known... dropped in /var/www/vhosts/entireacademy.com/subdomains/badgeorders/httpdocs/lib/misc.functions.php on line 1347

Warning: Parameter form_id is not known... dropped in /var/www/vhosts/entireacademy.com/subdomains/badgeorders/httpdocs/lib/misc.functions.php on line 1347

Warning: Parameter fbrp_continue is not known... dropped in /var/www/vhosts/entireacademy.com/subdomains/badgeorders/httpdocs/lib/misc.functions.php on line 1347

Warning: Parameter fbrp_done is not known... dropped in /var/www/vhosts/entireacademy.com/subdomains/badgeorders/httpdocs/lib/misc.functions.php on line 1347



I'm not sure why this error is appearing, the email gets sent and everything looks fine apart from the error.

Hope someone can help.


Thanks
Locked

Return to “Modules/Addon patchs”