| Index
» Projekty
» phpMyEdit
» Fórum
» Data Validation |
 |
jaystarkey
Založený: 10.06.2005
Príspevky: 4
Zaslal: 2005-06-11 07:34
Návrat hore
Odpovedať s citátom
|
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
Založený: 17.12.2003
Príspevky: 236
Zaslal: 2005-06-11 19:12
Návrat hore
Odpovedať s citátom
|
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
Založený: 11.02.2008
Príspevky: 2
Zaslal: 2008-02-11 08:12
Návrat hore
Odpovedať s citátom
|
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
Založený: 11.02.2008
Príspevky: 2
Zaslal: 2008-02-12 12:32
Návrat hore
Odpovedať s citátom
|
in which file i have to edit please tell me
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|