andrisp Posted June 13, 2005 Report Share Posted June 13, 2005 man darbs ir saistiits ar nenormaali daudz formu izmantoshanu, ljoti svariigi buutu ieviest vienkaarshu bet efektiivu formu chekingu servera pusee. Kaa lai vis efektiivaak un mazgljukainaak izveido sisteemu, ka pie nepareizas formas aizpildiishanas ir iespeeja atgriezties un paredigjeet veel formu... vienkaarhsi ir pat formas ar 30 laukiem un chupaam mazaakas formas un katru shito formu checkot neesaajot anormaalos mainiigos liidzi ar nav praata darbs ? vai varbuut tas ir vieniigais risinaajums ? Link to comment Share on other sites More sharing options...
Venom Posted June 13, 2005 Report Share Posted June 13, 2005 a) $fields=>array('name','e-mail'); B) a) $fields=>array('name'=>'txt','e-mail'=>'txt','mail'=>'regex;[a-z]+@[a-z]\.[a-z]'); utt Link to comment Share on other sites More sharing options...
Delfins Posted June 13, 2005 Report Share Posted June 13, 2005 tad vēl labāk būtu taisīt dinamisku formu, no masīviem, kur visa definīcija sabāzta :) FieldId => [name, value, checkHandler, checkErrMessage] Link to comment Share on other sites More sharing options...
andrisp Posted June 13, 2005 Author Report Share Posted June 13, 2005 a) $fields=>array('name','e-mail');B) a) $fields=>array('name'=>'txt','e-mail'=>'txt','mail'=>'regex;[a-z]+@[a-z]\.[a-z]'); utt 18473[/snapback] iisti nesapratu to otro rindinju... :unsure: Link to comment Share on other sites More sharing options...
andrisp Posted June 13, 2005 Author Report Share Posted June 13, 2005 tad vēl labāk būtu taisīt dinamisku formu, no masīviem, kur visa definīcija sabāzta :) FieldId => [name, value, checkHandler, checkErrMessage] 18474[/snapback] mosh vari padaliities ar kaadu linku/tutoriaali/howtosu kaa to dariit ? Link to comment Share on other sites More sharing options...
Venom Posted June 13, 2005 Report Share Posted June 13, 2005 brīva rīcība Link to comment Share on other sites More sharing options...
Delfins Posted June 13, 2005 Report Share Posted June 13, 2005 mosh vari padaliities ar kaadu linku/tutoriaali/howtosu kaa to dariit ? 18476[/snapback] http://lv2.php.net/array Link to comment Share on other sites More sharing options...
Recommended Posts