View previous topic :: View next topic |
Author |
Message |
graphitiks
Joined: 02 May 2009 Posts: 1
|
Posted: Thu Feb 24, 2011 7:37 am Post subject: Calendar does not pop up |
|
|
The calendar does not pop out, in none of the browers (Explorer, Safari, etc)
here's the link:
http://drmichaelhochman.com/makeappointment.html  |
|
Back to top |
|
 |
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Thu Feb 24, 2011 9:29 am Post subject: Reply |
|
|
The code on your site is missing the part of the code that contains a hidden <div> which displays the actual calender. If you look at the calender portion of the code, you will see the following on you site:
Code: |
<script language="JavaScript"
src="http://www.mycontactform.com/js/CalendarPopup.js"></script>
<script language="JavaScript">document.write(getCalendarStyles());</script>
<script language="JavaScript" id="jscal1x"> var cal1x = new CalendarPopup("calendar"); </script><input
name="q[1]" id="date1" size="10"
style="border: 1px solid rgb(0, 0, 0); font-family: Arial; font-size: 11px; font-weight: normal; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); vertical-align: middle; padding-left: 4px;"
type="text"> <a href="#"
onclick="cal1x.select(document.contactForm.date1,'anchor1','MM/dd/yyyy'); return false;"
title="cal1x.select(document.contactForm.date1,'anchor1','MM/dd/yyyy'); return false;"
name="anchor1" id="anchor1"><img
src="http://www.mycontactform.com/js/img/calendar.gif"
alt="Select Date" style="vertical-align: bottom;" border="0"></a>
|
At the end of this, there should be the following code (it is in the code we provide):
Code: |
<div id="calendar" style="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></div> |
This is the reason the calender is not appearing.
Nick Ladd
myContactForm.com |
|
Back to top |
|
 |
trippergb
Joined: 04 Mar 2011 Posts: 9
|
Posted: Sun Mar 06, 2011 3:14 am Post subject: Forms cannot be submitted and calendars don't pop up. |
|
|
- Forms cannot be submitted because of error messages about fields of 'email addresses' and 'check-out' being blank while they are filled in properly.
- Valid email addresses are considered as invalid, even when i removed the 'email address' field completely, it still showed 'invalid email address'...?
- Both the calendars don't pop up either. I had to remove the calender code and left a text box for guests to fill in - as they are unable to submit any reservation requests to us currently - but even when typed in the date dd/mm/yyyy, there is still an error message with check-out (date) is a required field...?
I would greatly appreciate a soon solution and would then like to go premium.
Our form page : http://www.guesthouseyangshuo.com/en/Trippers-Carpe-Diem-Reservations.html
(i re-entered the code supplied by mycontactform as non of the changes i tried worked) |
|
Back to top |
|
 |
trippergb
Joined: 04 Mar 2011 Posts: 9
|
Posted: Sun Mar 06, 2011 3:20 am Post subject: |
|
|
By the way, the calendar on the form of mr 'graphitiks' who posted this topic 2 weeks ago still doesn't pop up either. |
|
Back to top |
|
 |
trippergb
Joined: 04 Mar 2011 Posts: 9
|
Posted: Sun Mar 06, 2011 5:09 am Post subject: Problem resolved |
|
|
I went through the form again in the management panel and what yesterday and this morning didn't work suddenly went well again.
Deleted the 'email address' field in the editing panel that i had inserted, re-selected the position for the required 'email address' field of the system that did end on the right spot now.
With the calenders popping up now too there is not a problem anymore submitting the form.
There is a time for everything, if it doesn't work after several attempts, sometimes it's just better to leave it all behind and get back to it with some fresh energy! |
|
Back to top |
|
 |
|