manikandan170890 / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 1 forks source link

jqueryDateFormat #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I'm trying to get date control to use another date format.
My searches through previous issues and svn logs leave me a bit lost.

So was there a form attribute named jqueryDateFormat ? Where is it gone now ? 
Or is there another way to configure jQueryUI settings ?

Thank you.

Original issue reported on code.google.com by rocky.bz...@gmail.com on 23 Apr 2012 at 11:49

GoogleCodeExporter commented 9 years ago
All the jquery options are now supplied through the "jQueryOptions" property.  
I would suggest joining the project's Google Group at 
https://groups.google.com/forum/?fromgroups#!forum/php-form-builder-class.  
You'll find the answer to this question (and many others) here.

$form->addElement(PFBC\Element\Date("My Date:", "Date", array(
    "jQueryOptions" => array(
        "dateFormat" => "yy-mm-dd"
    )
)));

Original comment by ajporterfield@gmail.com on 23 Apr 2012 at 1:15