DMXzone Calendar 2 Support Product Page
Answered
Not in bindings panel
Asked 16 Jan 2012 09:20:51
1
has this question
16 Jan 2012 09:20:51 Denis Hoffmann posted:
Hey there,when I insert the calendar, the field is not shown in the bindings panel (form).
I need to store the choosen date in a session. So i created a hidden field.
I stored the hidden field in a session, but now I got problems to set the date to CURRENT_DATE in the beginning and the SESSION_DATE in the next visit of the page.
- set current date first page visit
- store date in session
- set session date at the next visit
How to do that?
Cheers,
Denis
Official Answer
Replied 23 Jan 2012 11:52:33
Hello Denis,
We've discussed this in the live support chat.
The formfield is not missing in the bindings panel, it is not supposed to be there.
If you need you can always create form variable under the bindings tab.
We've discussed this in the live support chat.
The formfield is not missing in the bindings panel, it is not supposed to be there.
If you need you can always create form variable under the bindings tab.
Replies
Replied 16 Jan 2012 09:43:51
16 Jan 2012 09:43:51 Teodor Kuduschiev replied:
Hello Denis,
- Are you using a dynamic or static calendar?
- please enter "+0" /without the quotes/ in the initial date field in order to display today's date
What session variable are you using?
- Are you using a dynamic or static calendar?
- please enter "+0" /without the quotes/ in the initial date field in order to display today's date
What session variable are you using?
Replied 16 Jan 2012 11:15:02
16 Jan 2012 11:15:02 Denis Hoffmann replied:
I use the session $_SESSION['eventDate']
My form is not dynamic.
My form is not dynamic.
Replied 16 Jan 2012 13:58:20
16 Jan 2012 13:58:20 Teodor Kuduschiev replied:
Have you created a Form variable with the same id as your hidden field? Then you can send this form variable to your session variable.
Replied 16 Jan 2012 15:12:03
16 Jan 2012 15:12:03 Denis Hoffmann replied:
The ID of the calendar ist "date", the hiddenfield ID is "eventDate".
To store I set:
$_SESSION['eventDate']=$_POST['eventDate']
That works, but where do I put the SESSION?
If I put it in the intire field it says 1970-01-01.
Do I really need a hidden field?
Cheers,
Denis
To store I set:
$_SESSION['eventDate']=$_POST['eventDate']
That works, but where do I put the SESSION?
If I put it in the intire field it says 1970-01-01.
Do I really need a hidden field?
Cheers,
Denis
Replied 16 Jan 2012 15:46:45
16 Jan 2012 15:46:45 Teodor Kuduschiev replied:
Replied 16 Jan 2012 15:49:10
16 Jan 2012 15:49:10 Denis Hoffmann replied:
I know how to use session :-)
My SESSIONS are: date und eventDate
So for the field date in the extension I use.
format: dd-mm-yy
and
initial:
Alternative field: hidden_eventeDate
format: yy-mm-dd
initial:
This is the page:
www.rockspots.de/akkreditierung/addNewDate/addNewDate1.php
Date starts with 1.1.1970
If I dont use the alernative field it works.
please help,
Denis
My SESSIONS are: date und eventDate
So for the field date in the extension I use.
format: dd-mm-yy
and
initial:
< ?php echo dmxCalendarFormat(((isset($_SESSION['eventDate']))?$_SESSION['eventDate']:"+0"), "dd-mm-yy") ; ? >
Alternative field: hidden_eventeDate
format: yy-mm-dd
initial:
< ?php echo dmxCalendarFormat(((isset($_SESSION['hidden_eventDate']))?$_SESSION['hidden_eventDate']:"+0"), "yy-mm-dd") ; ? >
This is the page:
www.rockspots.de/akkreditierung/addNewDate/addNewDate1.php
Date starts with 1.1.1970
If I dont use the alernative field it works.
please help,
Denis
Edited by - Denis Hoffmann on 17 Jan 2012 07:21:43
Replied 19 Jan 2012 11:11:32
19 Jan 2012 11:11:32 Denis Hoffmann replied:
hi,
is there anything new about the formfield missing in the bindings panel?
cheers,
denis
is there anything new about the formfield missing in the bindings panel?
cheers,
denis
Replied 23 Jan 2012 11:52:33
23 Jan 2012 11:52:33 Teodor Kuduschiev replied:
Hello Denis,
We've discussed this in the live support chat.
The formfield is not missing in the bindings panel, it is not supposed to be there.
If you need you can always create form variable under the bindings tab.
We've discussed this in the live support chat.
The formfield is not missing in the bindings panel, it is not supposed to be there.
If you need you can always create form variable under the bindings tab.
Replied 23 Jan 2012 12:20:33
23 Jan 2012 12:20:33 Denis Hoffmann replied:
Hey Teodor,
thanks for the answer. It was not clear during the support chat. There was the main problem the entire date :-)
So I just have to create a binding in the bindings panel?
Cheers,
Denis
thanks for the answer. It was not clear during the support chat. There was the main problem the entire date :-)
So I just have to create a binding in the bindings panel?
Cheers,
Denis