image source in Dynamichidden field
-
Hello,
i developped a contact form and ask user about the IT-problem they have
Because i have a lot of question, i want be able to propose te send a table to customer after he gives the response. The table sould be the Resuming of all the IT-Problemetik in form a table with green orange und red traffic lightsThe Logic
in the form i ask the question
do you have problem with email?
radio yes ou no
and i show onchange an image red traffic light or greeni wand to safe the image in a dynamichidden img_emailpb field and use these field
on the register email in a table xy
column icon_email
raw trafic light imageI try to code this but i don’t habve any success. Could this plugin the right solution for me, so you should me perhaps help or i don’t have understand the logic of the plugin
here is code in form:
***********************
//this is the first code of the first idea
//[md-select label=”1. Haben Sie Problem mit Email?”]
// [select* menu-emailproblem “ja” “nein”]
//[/md-select]<table>
<tr>
<td>
// Input field if problem > response YES I HAVE PROBLEM WITH EMAIL> red traffic light
<input type=”radio” name=”country” onclick=”document.getElementById(‘ProductImage’).src=’https://wp.dcsinform.net/wp-content/uploads/2019/05/traffic-light-306388_640.png'”/>Ampel rot
<br />
// Input field if no problem > response NO I HAVE NO PROBLEM WITH EMAIL> green traffic light
<input type=”radio” name=”country” onclick=”document.getElementById(‘ProductImage’).src=’https://wp.dcsinform.net/wp-content/uploads/2019/05/traffic-light-306386_640.png'” />Ampel grün
<br />
</td>
<td>
//in the form i show in right side the traffic light
</td>
</tr>
</table>// here ist the dynamichidden field where i try to save the image source as string
[md-text]
[dynamichidden img_emailpb “CF7_get_custom_field key=’ProductImage’”]
[/md-text]here is code in email for me and the customer:
*********************************************
<H2>Ihre IT-Problematik am [_date] um [_time] : was l?uft bei Ihnen nicht?</H1><u><H3>1. MAILPROBLEM, WEBMAIL, MAILCLIENT:</H3></u> [menu-emailproblem]
<table style=”text-align: left; width: 283px; height: 80px;”
border=”1″ cellpadding=”2″ cellspacing=”2″>
<tbody>
<tr>
<td style=”width: 141px; text-align: center;”>IT-Problems
with:</td>
<td style=”width: 193px; text-align: center;”>Status</td>
</tr>
<tr>
<td style=”width: 141px; text-align: center;”> </td>
<td style=”width: 193px; text-align: center;”></td>
</tr>
</tbody>
</table>Sorry for my english, i hope you understand what i try to do!
Thanks a lot if you can help me
The page I need help with: [log in to see the link]
- The topic ‘image source in Dynamichidden field’ is closed to new replies.