Answers.Body: <p>If you wish to prefill a field like email from the url, you can do so by constructing a link like this:</p>
  <p><code>https://example.org/civicrm/my-form#/?email=youremail@example.com</code></p>
  <p>Note the hash-slash-questionmark syntax which passes the variables to javascript rather than php.</p>
  <p>To pass more than one field value, separate it with an <code>&amp;</code> like</p>
  <p><code>https://example.org/civicrm/my-form#/?first_name=Jane&amp;last_name=Doe</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-16T05:56:33.783Z
Answers.Text: Thanks, that works!
  Does this work for other fields, e.g. firstname?
  
  I have already created a 'backup' using jquery, document.ready and document.on(ajaxcomplete) - this works, too, I can add email/fname/lname.
Answers.UserDisplayName: Jobst
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-16T14:41:53.543Z
Answers.Text: Yes, updated my answer to show how it works with multiple fields. No need for jQuery.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-16T23:51:13.823Z
Answers.Text: Is there a list of parameters somewhere? Why I am asking is it seems not related to the ACTUAL id/name of the field - I tried this with the actual ID before you answered this and it did not work.
Answers.UserDisplayName: Jobst
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-14T13:43:28.170Z
Answers.LastActivityDate: 2024-11-16T14:41:32.713Z
Answers.LastEditDate: 2024-11-16T14:41:32.713Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>Perhaps this recipe will help?</p>
  <p><a href="https://lab.civicrm.org/dev/core/-/issues/4462#note_172996" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues/4462#note_172996</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-14T05:02:48.077Z
Answers.Text: I think this falls into the same category as @Coleman explained.
  While I can see this to be useful when sending emails from within CIVIRM this does not help me if it some from a different mailer.
Answers.UserDisplayName: Jobst
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-14T18:35:43.007Z
Answers.Text: ok.  i don't think that was clear in the Question. I +1 coleman's second answer. only risk of course is that with the email exposed folk could potentially mess with it (but why would they)
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-13T22:47:12.587Z
Answers.LastActivityDate: 2024-11-13T22:47:12.587Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>It sounds like you need an authentication token.</p>
  <p>In FormBuilder, you can create tokens that identify a contact and pre-fill the form for them. You'll find this feature in the &quot;Placement&quot; dropdown when configuring your form. Once selected, save your form and then the token will be available for you in CiviMail.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-14T03:47:56.507Z
Answers.Text: Thanks, but that requires a send from within CIVICRM.
  They are NOT in the DB yet, the email is send from Mailchimp/Omnisend.
Answers.UserDisplayName: Jobst
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-13T21:22:59.437Z
Answers.LastActivityDate: 2024-11-13T21:22:59.437Z
Answers.UserDisplayName: Coleman
Body: <p>New to Formbuilder, working on a &quot;I want to Volunteer&quot; form.</p>
  <p>When we send out emails about volunteering for our organisation in the email I want to attach the email address to the LINK of the (formbuilder) VOLUNTEER form so the email address can be filled automatically - simply to reduce errors.</p>
  <p>I tried to find the answers but the documentation is a little sparse about this.</p>
  <p>How can I do this?</p>
  <p>Please help!</p>
  
Tags: <email><formbuilder>
Title: Formbuilder: How to fill an email address field when passed via the FORM URL (i.e. clicked on link with email address set)?
ThreadText: # Formbuilder: How to fill an email address field when passed via the FORM URL (i.e. clicked on link with email address set)?
  
  (Asked by: username_0 on 2024-11-12)
  
  New to Formbuilder, working on a "I want to Volunteer" form.
  
  When we send out emails about volunteering for our organisation in the email I want to attach the email address to the LINK of the (formbuilder) VOLUNTEER form so the email address can be filled automatically - simply to reduce errors.
  
  I tried to find the answers but the documentation is a little sparse about this.
  
  How can I do this?
  
  Please help!
  
  **Tags:** email, formbuilder
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2024-11-14. Score: 2
  
  If you wish to prefill a field like email from the url, you can do so by constructing a link like this:
  
  `https://example.org/civicrm/my-form#/?email=youremail@example.com`
  
  Note the hash-slash-questionmark syntax which passes the variables to javascript rather than php.
  
  To pass more than one field value, separate it with an `&` like
  
  `https://example.org/civicrm/my-form#/?first_name=Jane&last_name=Doe`
  
  > **Comments:**
  > **username_0**: Thanks, that works! Does this work for other fields, e.g. firstname?  I have already created a 'backup' using jquery, document.ready and document.on(ajaxcomplete) - this works, too, I can add email/fname/lname.  
  > **username_1**: Yes, updated my answer to show how it works with multiple fields. No need for jQuery.  
  > **username_0**: Is there a list of parameters somewhere? Why I am asking is it seems not related to the ACTUAL id/name of the field - I tried this with the actual ID before you answered this and it did not work.  
  
  ---
  
  ### Answer by username_2 on 2024-11-13. Score: 0
  
  Perhaps this recipe will help?
  
  <https://lab.civicrm.org/dev/core/-/issues/4462#note_172996>
  
  > **Comments:**
  > **username_0**: I think this falls into the same category as @username_1 explained. While I can see this to be useful when sending emails from within CIVIRM this does not help me if it some from a different mailer.  
  > **username_2**: ok.  i don't think that was clear in the Question. I +1 username_1's second answer. only risk of course is that with the email exposed folk could potentially mess with it (but why would they)  
  
  ---
  
  ### Answer by username_1 on 2024-11-13. Score: 0
  
  It sounds like you need an authentication token.
  
  In FormBuilder, you can create tokens that identify a contact and pre-fill the form for them. You'll find this feature in the "Placement" dropdown when configuring your form. Once selected, save your form and then the token will be available for you in CiviMail.
  
  > **Comments:**
  > **username_0**: Thanks, but that requires a send from within CIVICRM. They are NOT in the DB yet, the email is send from Mailchimp/Omnisend.  
  
  ---
  
  