Topic RSS
Related Topics
6:03 pm
Hello, I would the ability to add an alternate label for each form element: Label for website display (like what is currently available with cforms), and also an alternate label that will be used for the text only version of the Email.
So the email will look like:
alternate_label1: value
alternate_label2: value
alternate_label3: value
where alternate label is a value I can type into each form element.
Your assistance is greatly appreciated!!! I have a CRM that expects very specific field labels, and the labels I'm using for website display are not in the correct format.
Thanks,
Jason
6:57 pm
March 6, 2005
OfflineNo coding required Jason.
You need to
- enable custom NAMES/IDs for all the fields
- give them proper IDs you can reference later [id:abc123]
- then disable the email footer (data block)
- and instead write/assemble your own data block including your custom labels and {variables} referencing you custom IDs set for the fields, eg myLabel = {abc123}
7:29 pm
Thanks Oliver!!!
Oliver said:
No coding required Jason.
You need to
- enable custom NAMES/IDs for all the fields
- give them proper IDs you can reference later [id:abc123]
- then disable the email footer (data block)
- and instead write/assemble your own data block including your custom labels and {variables} referencing you custom IDs set for the fields, eg myLabel = {abc123}
9:25 am
La calle *** boxer comercial de la Lauren Polo Golf zona asiática de ropa interior *** Estambul.
Sogukçesme Sokagi
5:16 pm
Hi Oliver, when creating my own data block, is this done in the my-functions.php file?
My php knowledged is limited. Can you please share an example, or let me know which function to modify and where I make the modification to?
Thanks!
Jason
Oliver said:
No coding required Jason.
You need to
- enable custom NAMES/IDs for all the fields
- give them proper IDs you can reference later [id:abc123]
- then disable the email footer (data block)
- and instead write/assemble your own data block including your custom labels and {variables} referencing you custom IDs set for the fields, eg myLabel = {abc123}
5:32 pm
Hi Oliver, I'm using a multi-page form that includes 5 forms, and all I am trying to do is make the admin text email ouput my lable ids and values. It is currently outputting the lable names and values, but I want it output the label ids instead.
If I understand your prior email, I should disable the email footer, and then hard code the label ids in some function. I'm wondering if there is an easier way and just modify the existing function to output the lable ids.
I did try writing in the label ids in the admin email config, i.e. {firstname}, but this only outputted "{firstname}". I would like the lable id and the value outputted like this:
firstname: John Smith
Thanks!
Jason
Oliver said:
No coding required Jason.
You need to
- enable custom NAMES/IDs for all the fields
- give them proper IDs you can reference later [id:abc123]
- then disable the email footer (data block)
- and instead write/assemble your own data block including your custom labels and {variables} referencing you custom IDs set for the fields, eg myLabel = {abc123}
7:41 pm
Hello,
On my fifth form in a multi-page form, I have a field called Zip Code[id:mail_zip]
I am able to return the value in the admin email text version by adding the following:
{cf_form5_Zip Code}
However, I want to access the value by using the ID.
When I put in the following:
{cf_form5_mail_zip}
it does not work. I also tried just {mail_zip} and it didn't work either.
Some of my field labels have special characters and are very long, so I want to access the fields using the IDs instead.
Please let me know how to return the value using the IDs instead. The help section only says the following:
Referencing form values in multi-page forms require specification of the actual form the field is on, eg. {cf_form6_Your Name} would reference the field labeled "Your Name" on form #6.
It does not show how to reference the IDs.
Thanks!
Jason
9:35 pm
Jason,
I think you may be looking at this through complicated eyes.
Just as Oliver explained, no coding or modification of any cforms functions or files is required. All you need to do is use the cforms configuration options and format the output anyway you want in the Admin Email Message Options section.
When Oliver is referring to data block, he is referring to the Admin TEXT message (Header) and Admin HTML message (Header) fields on the Admin Email Message Options screen.
The default form available right after install provides good example inside both of these fields on how to use the variables, the options screens include good explanations of everything with links to the help file for more details.
I would suggest you start with a simple one page form to get comfortable with cforms before moving on with custom IDs and multipage forms. It is much simpler that you think.
In regards to your latest post in this thread: I wonder if you even need to worry about the custom IDs until the very end when you composing the e-mail message.
2:59 pm
March 6, 2005
OfflineJason,
you can also use my-functions.php to have (any of) functions send you a copy of the tracking data via email, which will show you the entire data array and how to access the individual elements (a mail example is included).
3:28 pm
Where can I control which extra data comes through in the email? I want to eliminate certain fields that have analytic data to streamline our admin email. To be more specific I want to eliminate the time and hardware data that comes on with the email while still leaving the other fields intact.
Most Users Ever Online: 959
Currently Online:
46 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3568
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5172
Posts: 18414
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote









