-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forms: Provide a link to edit an item that was just created #3289
Comments
This does not appear to be possible generically. I've checked a few forms and none even expose the ID of the created entity, even less a link to it. With form builder based forms it should be possible, though. |
Most forms do expose the |
In fact that property is part of |
Unfortunately the language item that is typically used ( |
Introduce a new template {if $success|isset}
<p class="success" role="status">{lang}wcf.global.success.{$action}{/lang}</p>
{/if} The template could then offer a proper UI for the user, additionally the form class can assign the specific object (similar to the |
Forms are generally designed to reset themselves after submitting and providing a clean form afterwards. There is usually a generic success message at the top, which we can extend to provide a link to edit the just created item.
We should check if it is possible to generate these links automatically without requiring any manual edits.
Partly inspired by https://community.woltlab.com/thread/272406-boxen-speichern-und-nicht-zur%C3%BCck-zur-liste-wechseln/.
The text was updated successfully, but these errors were encountered: