05-01-2018, 08:46 AM
Hi Guys,
Did play with Forms in US v4.3.23 and it worked well. Cool :-) Did the simple and advanced. I'm special interested in the advanced one, where you do the pre and postprocessForm of the Form separated. As soon the displayForm is called, the HTML gets generated. How is it designed that I can do my own html design of the Form instead produced by displayForm. Like have two columns for the fields instead only one.
if(!empty($_POST)){
$response = preProcessForm();
if($response['form_valid'] == true){
//do something here after the form has been validated
$response = postProcessForm($response);
}
}
displayForm('test');
any hint will help -- many thanks
Did play with Forms in US v4.3.23 and it worked well. Cool :-) Did the simple and advanced. I'm special interested in the advanced one, where you do the pre and postprocessForm of the Form separated. As soon the displayForm is called, the HTML gets generated. How is it designed that I can do my own html design of the Form instead produced by displayForm. Like have two columns for the fields instead only one.
if(!empty($_POST)){
$response = preProcessForm();
if($response['form_valid'] == true){
//do something here after the form has been validated
$response = postProcessForm($response);
}
}
displayForm('test');
any hint will help -- many thanks