Forums

Republish Skip

andyss 07 Dec, 2011
Is it possible to specify fields to skip when republishing form data on a validation error like in v3?
Max_admin 07 Dec, 2011
No, but you can unset the data in the "$form->data" array for the fields you don;t need, you can use a simple PHP code for that:


$skipped = array('field1', 'field2');
foreach($skipped as $skip){
unset($form->data[$skip]);
}


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
andyss 07 Dec, 2011
Thanks Max, works perfectly.
This topic is locked and no more replies can be posted.