Wed Apr 23, 2014, 4:56 pm
Showing 1 to 10 of 22 entries.

Hi,

I'm using ChronoForm 1.3/ V3.1 RC5.2, and I need to disable the past dates of my calendar. I'm using this form for a reservation site so it should active only present date and future dates. How can I do it? And past dates should be disable to select too.

18
Thu Dec 15, 2011, 7:14 am

Hi laki,

You can use the direction option in the DatePicker Options box on the form general tab. if you use

{ direction: 1 }
the calendar will only accept future dates. See more here

Bob

NB for other readers, this does not work for the ChronoForms v4 calendar.


ChronoForms technical support
If you'd like to buy me a coffee, thank you very much

GreyHead
Moderator
35743
Tue May 29, 2007, 6:15 pm

Hi,

Thanks for your reply. I need small help from you. Where do i need to put that code? I upload a file please let me is that d correct place to do the change.

  • Untitled-1.jpg
    Untitled-1.jpg (35.53 KiB) Viewed 2242 time(s).
18
Thu Dec 15, 2011, 7:14 am

Hi laki,

Yes that the right box. Try

classes: ['dashboard'], direction: 1

Bob


ChronoForms technical support
If you'd like to buy me a coffee, thank you very much

GreyHead
Moderator
35743
Tue May 29, 2007, 6:15 pm

Hi Bob,

I try it, But it doesn't work for me. Did I miss anything? Please help me.

18
Thu Dec 15, 2011, 7:14 am

Hi laki,

It works perfectly here.

Bob

  • 14-02-2012 11-55-42.png
    14-02-2012 11-55-42.png (14.27 KiB) Viewed 2202 time(s).

ChronoForms technical support
If you'd like to buy me a coffee, thank you very much

GreyHead
Moderator
35743
Tue May 29, 2007, 6:15 pm

Im using ChronoForm 1.3/ V3.1 RC5.2 is there ant bug in it?

18
Thu Dec 15, 2011, 7:14 am

I used below code,

<div class="form_item">
<div class="form_element cf_datetimepicker">
<label class="cf_label" style="width: 58px;">Check in</label>
<input type="text" value="" class="cf_datetime required" readonly name="theDate" size="20" style="color:#000;margin-right:5px" id="date_01"><input type="button" title="Please select the check in date" value="" id="" onclick="displayCalendar(document.forms[0].theDate,'yyyy/mm/dd',this)" size="20" class="calic">

</div>
<div class="cfclear">&nbsp;</div>
</div>

I think some thing wrong in here. Could you please help me with this

18
Thu Dec 15, 2011, 7:14 am

Hi Bob,
Any solution for this??????

If there's no solution I might go for latest Chronoform. And please tel me how to show calendar icon in Chronoforms_V4_RC3.11_J1.6 component?????

18
Thu Dec 15, 2011, 7:14 am

Hi laki,

Form the code you posted there you aren't using the ChronoForms datepicker so it's not surprising that the ChronoForms code doesn't work with it. You'll need to check what calendar you are using and see what the documents say.

The ChronoForms v4 calendar doesn't display an icon.

Bob


ChronoForms technical support
If you'd like to buy me a coffee, thank you very much

GreyHead
Moderator
35743
Tue May 29, 2007, 6:15 pm
Showing 1 to 10 of 22 entries.

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

SSL

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com