The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> html Form, advise needed for html form
LightBulb
post Aug 27 2012, 05:05 PM
Post #1





Group: Members
Posts: 1
Joined: 27-August 12
Member No.: 17,680



I am building a form in html which then goes to a php script and send the completed form,

The form makes calculations with javascript then sends the form to me and also a copy to the client,

However, most of the form is ok appart from the calculated bit, it will not send the result of the calculation by e-mail with it being in <span> tags, it will however send if i use <input class> tags but this gives me the problem of not being able to use "if statements" on this part of the form,
Can anyone help or advise on this issue ?

Regards,
LightBulb
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 27 2012, 06:55 PM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 13,726
Joined: 9-August 06
Member No.: 6



Can you post the URL to the page?


--------------------
“Never go to excess, but let moderation be your guide.”
– Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 28 2012, 10:33 AM
Post #3


.
********

Group: WDG Moderators
Posts: 4,760
Joined: 10-August 06
Member No.: 7



Use the results of the javascript to create and/or populate different form fields (say INPUT elements).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
worrall
post Aug 30 2012, 08:31 AM
Post #4





Group: Members
Posts: 3
Joined: 30-August 12
Member No.: 17,708



Not to bother about the errors i think u just need to check your code thoroughly may be a mistake in the code is disturbing your flow it will be better if you post the url of the page your are talking about.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 22nd May 2013 - 11:38 AM