Custom Field As A Value In A URL - Question | JoomShaper

is live, now with multi-currency selling.

Custom Field As A Value In A URL

Deich8

Deich8

SP Page Builder 5 days ago

Hello, Is it possible to insert the content of custom fields into a URL (e.g., for a button or HTML link) within a collection? The idea is to use the link to open an input form and pass values ​​via the URL so that the form is pre-filled. Is there a solution for this? Best regards, Ingo

0
1 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 5 days ago #233754

Hi Ingo,

Thanks for reaching out.

There's no way to insert a custom field's value into a URL directly — SP Page Builder doesn't support placeholders inside the link field, so .../form?name={field} won't work. Apologies for the inconvenience.

What does work is storing the finished link in the collection itself. Add a Link type field to your collection (Dynamic Content → your collection → Edit → Custom Fields), enter the complete URL with parameters per item, e.g. https://your-site.com/request-form?name=Team%20A&email=team%40example.com, then select the Dynamic Text addon acting as your button, open Link, enable Enable Dynamic Link, and pick that field under Link Field Source. The query string is passed through to the target page exactly as entered.

Please also note that our Form Builder addon has no default value option, so it won't read those parameters by itself — that needs a form solution that supports pre-filling from the URL.

Best regards,

0