Page 1 of 1

[solved] Formbuilder email omits info from pulldown field

Posted: Sun Feb 26, 2012 2:29 am
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

Re: Formbuilder email omits info from pulldown field

Posted: Sun Feb 26, 2012 5:59 pm
by Dr.CSS
Did you make sure to generate the email template after all changes/additions to the form were done?...

Re: Formbuilder email omits info from pulldown field

Posted: Mon Mar 12, 2012 2:32 pm
by pinpointdesign
Yes, of course

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

Posted: Fri Mar 16, 2012 5:24 pm
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!