Results 1 to 2 of 2
Thread: Help with assigning variables
Jun 26, 2006, 12:26 #1
Help with assigning variables
I have a page that is calculating a form Moving Company and once this form is filled out and submitted my client and the visitor get an identical email (HTML FORMAT) that shows this same form filled out but no check boxes. So the few fields that do have check boxes need to indicate that the check boxes have been checked.
Example of field on web site:
Example of Field on Email:
I want to add the word "Plasma" or "No Plasma" to the description.
So I am using the checkbox for two reasons.
1. To add a value to the calculations (to get a total for the move)
2. To tell my client weather or not this person choose the added service.
I could just put the assigned number on the email and the fact that it is there would tell my client that they want the service but the number represents what he is actually charging the client and he does not want them to see that number. This is why I need to have a string assigned to it at some point.
if (plasma30 = 10) p30 = "Plasma"; else p30 = "No Plasma";
Split Light Designs
Bringing your ideas to light.
Jun 26, 2006, 21:13 #2
- Join Date
- Mar 2005
- 0 Post(s)
- 0 Thread(s)
So you want "plasma" to show up beside the description of the type TV in the email if the checkbox is checked?
You should do that in the CF code, not the JS code.