Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Data Validation

phpMyEdit Features     Data Validation
Post new topic   Reply to topic    
 
jaystarkey     Joined: 10 Jun 2005   Posts: 4  
Post Posted: 2005-06-11 07:34
Back to top  Reply with quote     

Is there some way to validate that data has been entered in the correct format (specifically, I want to make sure the date format is yyyy-mm-dd for my mySQL database)? Currently, if a user inputs the wrong format the date is saved as "0000-00-00" and there isn't a warning that the change wasn't able to be made. Thanks!

 
ajh     Joined: 17 Dec 2003   Posts: 236  
Post Posted: 2005-06-11 19:12
Back to top  Reply with quote     

No - you can't really do that. However take a look at the mce_cal extension in the CVS. That allows you to put a button by date fields that pops up a calendar. The user clicks it and the date gets put into the field in the correct format. You'll need to use the CVS version of PME as well.

 
debakanta     Joined: 11 Feb 2008   Posts: 2  
Post Posted: 2008-02-11 08:12
Back to top  Reply with quote     

When i am adding any recode without filling any field .It is geeting added a blank record.how should i restrict the field which should n't have any char .can some one suggest me?

Thanks,
Debakanta

 
debakanta     Joined: 11 Feb 2008   Posts: 2  
Post Posted: 2008-02-12 12:32
Back to top  Reply with quote     

in which file i have to edit please tell me

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy