You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On success, the page is redirected to /some-path?send=true
Desired Behavior
On success, the page is redirected to /some-path?send=true&form=<ID of form>. This will allow developers to have more than one form on a page (i.e. in content blocks) and handle displaying success messages when only one is filled out.
Possible Solutions
Sulu\Bundle\FormBundle\Event\RequestListener.php line 105
@matt-halliday currently there are also some other problems as you cant display the data in the backend on that page so its currently not possible to have forms inside blocks #63.
@alexander-schranz ok - seems to be working just fine for me - which data do you mean? The submissions to the form are showing in the data tab of the forms themselves.
The only thing I had to do was pass some extra data from the view component in with the block to get the success message:
its possible to have a tab of the data on the page itself this is currently not possible as the Tab dont know where the search for the form id when the form is part of the block. With 0.2 there where some issues solved but its not 100% ready for be used in blocks (#63) also your issue with the success message.
dev-feature/symfony-3-release
Actual Behavior
On success, the page is redirected to
/some-path?send=true
Desired Behavior
On success, the page is redirected to
/some-path?send=true&form=<ID of form>
. This will allow developers to have more than one form on a page (i.e. in content blocks) and handle displaying success messages when only one is filled out.Possible Solutions
Sulu\Bundle\FormBundle\Event\RequestListener.php
line 105Not sure if this is the cleanest method given the resulting twig nonsense:
Basically some way of identifying which form has been submitted.
The text was updated successfully, but these errors were encountered: