-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
More information about default values of form fields #857
Comments
The recommended way in my opinion would be to use a I recently added this functionality to https://github.com/inspiredminds/contao-extended-form-fields though. With that extension installed you can enable a setting for each form field where its default value would be extracted from a query parameter of the same name. |
Thank you Fritz. In the forums many write about another solution. That I would have to write something like {{GET:variableName}} into the default field. Hence I thought it would be great to have a better documentation about it. To have a solution is one thing. To have a better documentation another. And this issue here is now because of the documentation and not about finding a solution. But thanks again. |
I know ;). The ticket is not closed.
Probably something like |
It would be great if the page https://docs.contao.org/manual/de/formulargenerator/formularfelder/ would have more information about default values of form fields, Especially about dynamic default values. E.g. How can I set the current date as the default value. Or how can I set a GET parameter as a default value.
The text was updated successfully, but these errors were encountered: