EasyUI Forum
May 17, 2024, 11:50:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Datebox issue [Solved]  (Read 4301 times)
Darrel
Jr. Member
**
Posts: 74


View Profile
« on: September 28, 2016, 09:29:09 AM »

Hello,

I have the following code in the reloado link mentioned as follows: http://code.reloado.com/exazuq/2/edit

I require a few things to be done:
1) The value from the date box must be the date mentioned inside the value attribute of the input box. As seen in the reloado code the date in the value is 26/09/2016 but however it is populating the current system date there. I want the date to be set as 26/09/2016 only until/unless the user changes it from the calendar.
2) On trying to change the date from the calendar that opens up, the date does not get changed. How can I enable the date to get changed accordingly.
3) When I submit the form, with a valid date, still it highlights the datebox in red indicating that there is some error in the field.

Please could you guide me on, how these problems can be solved.

Regards,
Darrel.
« Last Edit: September 28, 2016, 10:44:58 PM by Darrel » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: September 28, 2016, 05:40:16 PM »

Some errors occur in your 'myparser' function. Please look at this updated example, it works fine.
http://code.reloado.com/exazuq/3/edit
Logged
Darrel
Jr. Member
**
Posts: 74


View Profile
« Reply #2 on: September 28, 2016, 10:44:38 PM »

Hello stworthy,

Thanks a lot, it works now Smiley

Regards,
Darrel.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!