Prepoulate Date

This area is devoted to Magento Form Builder SmartFormer Gold. Please ask questions, report bugs and share ideas here.

Prepoulate Date

Postby american » Mon Oct 17, 2016 1:28 am

Hi,
Is there any way if i add a Date selector calendar, that the box comes by default with current today date, so i just need to click on the calendar icon if i need to change the date.
thanks in advance
american
 
Posts: 12
Joined: Fri Oct 14, 2016 1:28 am

Re: Prepoulate Date

Postby american » Wed Oct 19, 2016 1:30 am

Hi, is anyone able to advise on how can i do this, if it is possible to do it?
Thanks very much in advance
american
 
Posts: 12
Joined: Fri Oct 14, 2016 1:28 am

Re: Prepoulate Date

Postby IToris team » Wed Oct 19, 2016 5:42 pm

Hi,

Click on the date inputbox to see its properties. Then click "Add PHP Script" icon next to the "value" property. In appeared window paste:

Code: Select all
echo date('m/d/y');


Best regards
ITORIS TEam
IToris team
Site Admin
 
Posts: 1686
Joined: Mon Jan 19, 2009 12:33 pm


Return to SmartFormer Gold for Magento

Who is online

Users browsing this forum: No registered users and 2 guests

cron