Open userc479 opened 4 years ago
I am not sure what you are asking, but you can get the rendered form as a variable like
$output = $form->render('', true);
Basically if you have a a fair amount of HTML before the Automatic Render (without template) it returns duplicate / timeout error. I'll try what you said.
Doesn't work :(
Just frustrated - delete this please - sorry.... i'm trying to figure it out... :(
Try disabling CSRF
$form->csrf(false)
Stefangabos - disabling CRSF works but I don't want to disable that as would be a security issue.
I think it was something to do with whatever information was being held via Sessions through Zebra Sessions - it's not showing up the errors - doing development stages on my laptop rather than site in operation - whether that makes a difference - I don't know
It seems when you use the form render without using template and you have both form and coding before generating the form it causes a duplicate/time out issue which is frustrating as I want to show the form / details before render if form hasn't been submitted or unsuccessful - otherwise a successful would prompt show a thank you page.
This is the code (be kind to me....) - help is appreciated if anyone has the time - many thanks :)
}
?>`