Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 13. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Data Validation

phpMyEdit Features     Data Validation
Odoslať novú tému   Odpovedať na tému    
 
jaystarkey     Založený: 10.06.2005   Príspevky: 4  
Príspevok 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  
Príspevok 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  
Príspevok 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  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov