Hi All,
I have submitted form from twig file want to show last data’s of input field.
I have display some error according to some of my logic.
Thanks
Hi All,
I have submitted form from twig file want to show last data’s of input field.
I have display some error according to some of my logic.
Thanks
Do you mean that you want to preserve the form data after it was submitted and an error was received? If you’re using ufForm
, that should happen automatically.
Or, do you want to show the form data after re-launching it at a later point in the workflow?
Thank you for your reply. but i can not understand that how ufForm works
So basically, ufForm
uses AJAX to submit the form, which means that the page won’t be automatically reloaded if the request fails. See the documentation here.
I’d recommend taking a look at how ufForm
is used in some of the built-in features of UserFrosting - for example the user creation/update interface.