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
Nextcloud (please complete the following information):
Nextcloud-Version: [e.g. 20.0.0]
Forms-Version: [e.g. 2.0.4]
Hello
it is possible to send values for a Form via get?
I have a form with the field name and I want to create a link like
/index.php/apps/forms/eQHeX2MT6MbfErg4zwztzf?name=Anton
Given the development in #1382, is this still the suggested approach for implementing this? I could see the two methods interfering with each other. I assume the localStorage should take precedence?
I would use the fragment identifier (#) instead of searchParams (?). searchParams is sent to the server, which could potentially lead to unintended consequences and might pose a problem under data protection. The fragment identifier remains in the browser.
But shouldn't you instead add the URL parameters as options in Vue.js/Router, since Nextcloud/Forms uses it?
Activity
[-]Send answer values via get/url[/-][+]Prefill fields from url-parameters[/+]sethiele commentedon Mar 5, 2021
To make the business value a bit clear:
With this feature you can create auto generated Form-Links for customers with prefilled user IDs or so.
RedTiger26 commentedon Mar 9, 2021
nabl13 commentedon Jun 10, 2021
KiaraGrouwstra commentedon Aug 23, 2022
@nabl13
gforms does support this, see https://trevorfox.com/2015/06/dynamically-pre-fill-google-forms-with-mailchimp-merge-tags/
KiaraGrouwstra commentedon Jan 21, 2023
there are a few components to this:
idattributes, preferably based on the question. this appears related to Add technical identifier / name for fields #1040.Chartman123 commentedon Jan 22, 2023
Hi @KiaraGrouwstra
if you want you can give it a try and work on this :) We would be very happy if you can create a PR for this issue :)
Schlepptop commentedon Oct 16, 2023
Given the development in #1382, is this still the suggested approach for implementing this? I could see the two methods interfering with each other. I assume the localStorage should take precedence?
KiaraGrouwstra commentedon Oct 16, 2023
@Schlepptop that sounds like a question of user intent. i wonder if there is an easy answer there.
Schlepptop commentedon Oct 16, 2023
The safest approach would probably be to handle this with a modal as in #1310.
TUCAOEVER commentedon Mar 20, 2025
dscholles81 commentedon May 20, 2025
klml commentedon Oct 17, 2026
I would use the fragment identifier (
#) instead of searchParams (?). searchParams is sent to the server, which could potentially lead to unintended consequences and might pose a problem under data protection. The fragment identifier remains in the browser.But shouldn't you instead add the URL parameters as options in Vue.js/Router, since Nextcloud/Forms uses it?