Calc Builder Support

Calc Builder support
Public write access is disabled. Please login

Date () 18.06.2015 15:03

How do I set a field to always show "today" - and not allowing the user to change that ?


Re: Date () 18.06.2015 20:46


You can use datepicker functions on a field typed 'date'. Add this code on first tab of 'Javascript events'on your calculator, replacing 'today' with the variable name of your field.:

CB("input[fldname=today]").datepicker({ minDate: 0, maxDate: 0});
CB("input[fldname=today]").datepicker( "setDate", "+0" );

More information about datepicker can be found here:

Moonsoft Team
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback