21487 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 329 Views |
-
DatePicker not displaying in Custom Form

28 June 2012 at 12:18am Last edited: 28 June 2012 12:20am
Hi All,
I am having a form that contains a DateField along with some Select and Textbox.
I created the form using a public function MyForm(){ } and it worked great and i am getting the form in the Frontend exactly like i want but i have to decorate it a bit so i tried to go for the Custom Form to make layout as per requirement.Now the problem is it is displaying all fields correct except that DateField the HTML generated for it show it as a plain textbox<input type="text" value="" name="dt" id="SearchForm_dtfield" class="text"> when i tried displaying it using $dataFieldByName(dtfield)
Any Idea why is it behaving so..??
Thanks
K_T -
Re: DatePicker not displaying in Custom Form

29 June 2012 at 1:19am
Hi Guys,
AnyOne Please . . has anycome used DateField with Custom Form . . ??
Thanks
-
Re: DatePicker not displaying in Custom Form

29 June 2012 at 10:50pm
You can create a new class, extending the dateField class. In this calls overwrite the Field method to create your wanted HTML code.
-
Re: DatePicker not displaying in Custom Form

30 June 2012 at 12:49pm
Use $dataFieldByName(dtfield).FieldHolder
| 329 Views | ||
|
Page:
1
|
Go to Top |


