kjpweb
Junior Member
Posts: 2
Registered: 8/11/2005
Member Is Offline
|
| posted on 8/11/2005 at 07:09 PM |
|
|
Conflict with formMail script
The calendar only works, when I remove the
hidden inputs, that are required by my formmail script.
e.g. if the calenderfiekds name is date - the formmail script requires this line within a form.
<input type="hidden" name="date" value="[date]">
This entry allows to "transport" data for later processing from one to the next page.
If using correct coding for both scripts - calendar2.js and my formmail script I encounter the error, so many people here encounter, when they don't
define the field value.
Problem is - that I have no idea on how to resolve this conflict between the two scripts.
Any ideas ?
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/11/2005 at 09:51 PM |
|
|
There should be no problem with the calendar returning the date to the hidden field. Just make sure you don't create two inputs with the same name.
Have either type="hidden" or type="text" For the server side script there is no difference which one you have on the client side.
|
|
|
kjpweb
Junior Member
Posts: 2
Registered: 8/11/2005
Member Is Offline
|
| posted on 8/11/2005 at 11:59 PM |
|
|
Thanks
After some tweaking I got it done...
|
|
|