[solved] Formbuilder email omits info from pulldown field

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pinpointdesign
New Member
New Member
Posts: 4
Joined: Wed Feb 08, 2012 5:46 pm

[solved] Formbuilder email omits info from pulldown field

Post by pinpointdesign »

Hello,
My site uses Formbuilder for a contact form, and everything works fine except for the pulldown field that I inserted for users to choose a department.
When the submission template includes the following (which is the template Formbuilder generates):

Code: Select all

{if $fld_32 != "" && $fld_32 != "[unspecified]" }<strong>Department</strong>: {$fld_32}<br />{/if}
then the Department field doesn't even appear in the resulting email.
If I remove the "if" and leave it as

Code: Select all

<strong>Department</strong>: {$fld_32}<br />
, then I get "Department: Unspecified", regardless of my selection.
Any input would be appreciated.
Thanks
Last edited by pinpointdesign on Fri Mar 16, 2012 4:13 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Formbuilder email omits info from pulldown field

Post by Dr.CSS »

Did you make sure to generate the email template after all changes/additions to the form were done?...
pinpointdesign
New Member
New Member
Posts: 4
Joined: Wed Feb 08, 2012 5:46 pm

Re: Formbuilder email omits info from pulldown field

Post by pinpointdesign »

Yes, of course
pinpointdesign
New Member
New Member
Posts: 4
Joined: Wed Feb 08, 2012 5:46 pm

Re: [solved] Formbuilder email omits info from pulldown fiel

Post by pinpointdesign »

I was looking in the wrong place all along; apparently, the problem was that I hadn't realized when creating the pulldown field that the name of the selection doesn't automatically become its field value; you have to enter that separately. So all my fields were essentially empty!
Post Reply

Return to “Modules/Add-Ons”