Dear all,
Again, another question from a newbie that may have a quick answer. Would it be possible from within Survey123 to open a URL (through a web browser) using the parameters or data that is present in the fields of the survey?
Thanks so much for your help.
Jose Vasconcelos
Solved! Go to Solution.
Thanks for your suggestion. I will check it out.
Jose
@jose_v wrote:Dear all,
Again, another question from a newbie that may have a quick answer. Would it be possible from within Survey123 to open a URL (https://www.handy-reparatur-berlin.com/handyreparatur-haftpflichtschaden.html) using the parameters or data that is present in the fields of the survey?
Thanks so much for your help.
Jose Vasconcelos
Yes, it is possible to open a URL through a web browser in Survey123 using the parameters or data present in the survey's fields.
You can create a hyperlink with parameters that reference the field values in your survey, and then add that hyperlink as a question or a note in your survey. When the user clicks on the hyperlink, the web browser will open and load the corresponding URL, passing in the parameter values from the survey.
To create a hyperlink with parameters, follow these steps:
Create a URL with the appropriate parameters. For example, if you have a survey field called "Location" and you want to pass its value to a web application, you could create a URL like this: "http://www.example.com?location=${Location}"
In Survey123, create a question or a note that includes the hyperlink. To do this, you can use the "hyperlink" appearance for a text question, or simply type the hyperlink into a note question.
Use the ${FieldName} syntax to reference the field values in your survey. For example, if your hyperlink is in a note question, you could type something like this: "For more information, click <a href='http://www.example.com?location=${Location}'>here</a>."
Save your survey and test the hyperlink to make sure it is working as expected.
Note that the syntax for referencing field values in the URL may vary depending on the web application you are using. Be sure to consult the documentation for that application to ensure that you are using the correct syntax.