I'm having a problem with emails sent from cformsII.
I am trying both email to admin and email to person who submitted and neither is taking variables.
I have fields labeled Your Name and one labeled Email and when I use {Your Name} or {Email} in the email subjects it does not work properly, and only comes through as that text.
I have also tried using {_field02} with no effect.
Any way I can figure out what is going wrong? Do variables with field names include the full text of the field name box, or just the actual field name identifier? eg (Your Name|Your Name). Is that {Your Name} or {Your Name|Your Name}?
I am having a similar problem. Emails will use the predefined variables (Date, Time) but none of the form field variables. I have tried both {Field Name} and {_fieldnn} formats. Any suggestions?
Yeah, I saw you didn't like "same problem"-posts in the FAQ. Yet, I'm having exactly the same problem as was outlined above. But if it is any help, I can repeat it in my own writing:
When Cforms sends out e-mails, the variables do not work. I've tried the different forms of syntax, but all I get in the email is curly brackets with the field name/id/field number inside.
Here's a snippet of the e-mail that's sent out. The names in curly brackets reference the names
Aaha! Turns out that there's a little magic switch that you pointed to in the reply above, Oliver.
Enabling "" under core admin fixed my problem entirely. I couldn't see any reference to this being necessary anywhere, which may be useful for others.
But now I'm having another problem. The form doesn't validate and throws an "all required fields must be filled in"-error even when the checkbox is checked.
I'm gonna look more into this, and will probably rather start a new thread about this if I don't figure it out.
Okay, I discovered the answer to the above. Seems that validating checkboxes only works with Ajax enabled on my installation, and for some reason I couldn't enable Ajax for just that form before I recreated it. It works now. Hooray!