TOPIC:

field Date - disable old days 2 weeks 2 days ago #275141

  • Topic Author
  • gateirow
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Hi, frieds

I need my Responsive calendar to disable past days, any ideas? Help me


Thank yoy

Please Log in or Create an account to join the conversation.

field Date - disable old days 1 week 6 days ago #275148

  • tihana.krivic's Avatar
  • tihana.krivic
  • Online
  • Moderator
  • Moderator
  • Posts: 10536
  • Karma: 3
  • Thanks: 705
Hi,

please go to form->Advanced->More options->Form pieces->Before form->check Custom and put:
echo '<script type="text/javascript">
                                        
    JQuery(document).ready(function () {
                             
        JQuery("#ff_elem1293_calendarButton").pickadate({
			format: "yyyy-dd-mm", 
                        selectMonths: true,
                        selectYears:100,
                        min: true,
                     
			onSet: function() {JQuery("#ff_elem1293").val(this.get("value"));}
		});
        });
</script>'
#ff_elem1293 is ID of responsive calendar, to find it do the right click to browser->Inspect->and in Console find ID for responsive calendar

If you need more help,let me know

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.042 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!