all field in "Custom Text in email" not working
Lawrence created the topic: all field in "Custom Text in email" not working
In "Email Option"->"Email to user", all my fields in "Custom Text in email" become null when I receive the email.
if I insert "All fields list", some field can be showed but not all.
How to solve? Thanks. I am still using version 2.9.11
The link is on
form.fringebacker.com/plk_charity_run_20...ader_email=a%40a.com
When the form is submited by user, many field in fact is not inputed by human. Instead, I use JQuery like
jQuery('#wdform_11_element18').val(parm['pledge_id']);
to input the data from parameter. I doubt if it is a reason why it won't work.
the email I received as below
I found "action after submission" is working. but "Custom Text in Email For User" is not.
Please Log in or Create an account to join the conversation.
7 years 6 months ago
Zhanna Khachatryan replied the topic: all field in "Custom Text in email" not working
Hi Lawrence,
Thanks for your inquiry.
Lawrence, I have replied to your ticket, early this morning. Please send the website details and we'll check and solve your issue.
Kind regards,
Zhanna K.
Web-Dorado team
Try out our brand new plugins:
MailChimp WD
Google Analytics WD
Explore them and share your thoughts!
Please Log in or Create an account to join the conversation.
- Zhanna Khachatryan
- Offline
- Moderator
- Posts: 2081
- Thank you received: 135
7 years 6 months ago
Lawrence replied the topic: all field in "Custom Text in email" not working
Thanks. I already sent you the admin a/c.
Also, you can read the below info.
The javascript of my form
function before_load() {
parm=getUrlVars();
$('#wdform_1_element12').val(parm['ref_no']).prop('disabled', true);
;
$('#wdform_12_element12').val(decodeURIComponent(parm['team_name'])).prop('disabled', true);
;
$('#wdform_11_element12').val(parm['pledge_id']);
switch(parm['pledge_id']){
case '2511':
$('#wdform_15_element12').val('3KM FUN RUN - TEAM RUN');
break;
case '2518':
$('#wdform_15_element12').val('8KM CHALLENGE RUN - TEAM RUN');
break;
default:
$('#wdform_15_element12').val('error');
}
$('#wdform_15_element12').prop('disabled', true);
$('#wdform_16_element12').val(decodeURIComponent(parm['leader_email']));
$('#wdform_17_element12').val(new Date().toJSON().slice(0,10));
$('#wdform_18_element12').val(parm['team_name']);
$('.button-reset').attr('onClick','email_reset();');
}
// Occurs just before submitting the form
function before_submit() {
// IMPORTANT! If you want to interrupt (stop) the submitting of the form, this function should return true. You don't need to return any value if you don't want to stop the submission.
}
function before_reset() {
}
function email_reset(){
$('.panel-body input:text').val('');
}
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
const $=jQuery;
The email template [code]Dear Friend: I have created a team called %Team Name:% for PO LUENG KUK Charity Run and would like to invite you to join. Registration is now open and your entry has been prepaid. To redeem your invitation, click on the link below to register your details, you will not have to pay for the entry as it is already paid for. Use the link below to complete your registration and join my team! <a href="//form.fringebacker.com/register_plk_charity_2016/?leader_email=%leader_email%&team_name=%team_name_coded%&pledge_id=%pledge_id%">Registration</a> Looking forward to having you! Best wishes, %Team Name:% %date%[/code] The link is on http://form.fringebacker.com/plk_charity_run_2016/?ref_no=0001&team_name=Lawrence%27s%20Team&pledge_id=2511&leader_email=a%40a.com[email option->email to user ->Custom Text in Email For User]
Dear Friend:
I have created a team called %Team Name:% for PO LUENG KUK Charity Run and would like to invite you to join. Registration is now open and your entry has been prepaid. To redeem your invitation, click on the link below to register your details, you will not have to pay for the entry as it is already paid for. Use the link below to complete your registration and join my team!
<a href="//form.fringebacker.com/register_plk_charity_2016/?leader_email=%leader_email%&team_name=%team_name_coded%&pledge_id=%pledge_id%">Registration</a>
Looking forward to having you!
Best wishes,
%Team Name:%
%date%
The link is on
form.fringebacker.com/plk_charity_run_20...ader_email=a%40a.com
Please Log in or Create an account to join the conversation.
7 years 6 months ago
Zhanna Khachatryan replied the topic: all field in "Custom Text in email" not working
Dear Lawrence,
I just want to make sure that you have read my last email.
Hidden fields are available for being inserted in custom message section.
I have asked you to reopen our admin access to see why they are not available at your end.
Kind regards,
Zhanna K.
Web-Dorado team
Try out our brand new plugins:
MailChimp WD
Google Analytics WD
Explore them and share your thoughts!
Please Log in or Create an account to join the conversation.
- Zhanna Khachatryan
- Offline
- Moderator
- Posts: 2081
- Thank you received: 135
7 years 6 months ago