# Pre-filling questions

- **Author**: Calvin Chiramal
- **Category**: Pre-filling booking questions
- **URL**: https://help.neetocal.com/articles/pre-filling-booking-questions-via-url
- **Keywords**: pass name as parameter, pass email as parameter, prefilled, and prefill

---

NeetoCal allows you to pre-fill questions using URL parameters. This means that if you send your clients URLs like&nbsp;[https://spinkoffee.neetocal.com/meet?name=John&email=sam@example.com,](https://spinkoffee.neetocal.com/meet?name=John&email=sam@example.com)&nbsp;when John clicks the&nbsp;link, his name and email will be pre-filled.&nbsp;People also call this feature "pass variables to the form" or "passing data to the form".

If you'd rather not put the customer's details in the URL, you can prefill with a secure token instead. See [Prefilling questions with secure token](https://help.neetocal.com/articles/prefilling-booking-questions-with-a-secure-token "Prefilling questions with secure token")

### URL parameters

URL parameters are extra information added to the end of a web address (URL) that helps communicate specific instructions or data to a website. They are typically separated from the base URL by a question mark (?), and multiple parameters are separated by ampersands (&).

For example, consider the URL "[www.spinkoffee.com/page?name=John&age=25](https://spinkoffee.com/page?name=John&age=25)". In this case, name and age are the parameters, and their values are **John** and **25,** respectively.

https://www.youtube.com/embed/HMlYJ0hOFcM

### Creating a pre-filled scheduling link

1. Go to the scheduling link and click on the&nbsp;**Share** tab.
2. There, click on the&nbsp;**Get a pre-filled scheduling link** option.
3. Enter responses for your booking form questions, then click&nbsp;**Generate link**.
4. It will create a pre-filled scheduling link that you can copy and easily share with the person.

### Using URL parameters to pre-fill booking fields

The default booking questions in NeetoCal are the client's name and email. Sometimes, we know these values in advance and may wish to pre-fill them to simplify the user experience while booking a meeting.

Consider this scheduling link: [https://example.neetocal.com/meeting-with-oliver-smith](https://example.neetocal.com/meeting-with-oliver-smith). We can add URL parameters to this link, like this: [https://example.neetocal.com/meeting-with-oliver-smith?name=Sam&email=sam@example.com](https://example.neetocal.com/meeting-with-oliver-smith?name=Sam&email=sam@example.com). When the client books the meeting, the user's name and email will be pre-filled.

### Field code

In the above link, **name** and **email** are parameters, while **Sam** and **sam@example.com** are the values. We call these parameters "field codes". The list of questions can be found in the **Settings tab**.

Please check the&nbsp;[questions for the client](https://help.neetocal.com/articles/pre-meeting-questions) for more information about the questions. The field code for a question can be found under each question.

By default, NeetoCal creates unique field codes for each question. You can modify the field code as needed, as long as it is unique and doesn't clash with other questions' codes.

[![image](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6IjJiZGRlZjY5LWIwNzMtNGQ0Mi05N2EzLWFiZTI2MTM4NGJlMCIsInB1ciI6ImJsb2JfaWQifX0=--0b5e5bc4d753221963c8fe375f280a80e4a84c5f/image.png)](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6IjJiZGRlZjY5LWIwNzMtNGQ0Mi05N2EzLWFiZTI2MTM4NGJlMCIsInB1ciI6ImJsb2JfaWQifX0=--0b5e5bc4d753221963c8fe375f280a80e4a84c5f/image.png)

Please review the sections for each question type for specific examples of how you can use these field codes for those questions and their additional attributes.

- [Name](https://help.neetocal.com/articles/name)
- [Email](https://help.neetocal.com/articles/email)
- [Text](https://help.neetocal.com/articles/text)
- [Date](https://help.neetocal.com/articles/date)
- [Phone number](https://help.neetocal.com/articles/phone-number)
- [Integer and decimal](https://help.neetocal.com/articles/integer-and-decimal)
- [Checkbox](https://help.neetocal.com/articles/checkbox)
- [Radio](https://help.neetocal.com/articles/radio)
- [Dropdown](https://help.neetocal.com/articles/dropdown)
- [Address](https://neetocalhelp.neetokb.com/p/a-7ccee1d2)

### Creating pre-filled packages

[![package_T49Qo07-MF.png](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6IjViYTFkMjk0LTc1NTQtNGM1OS05YTBjLWE5YjFlNmYyNzY5MiIsInB1ciI6ImJsb2JfaWQifX0=--125f84be557916c2165c69a2ba236746387b8efb/package_T49Qo07-MF.png)](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6IjViYTFkMjk0LTc1NTQtNGM1OS05YTBjLWE5YjFlNmYyNzY5MiIsInB1ciI6ImJsb2JfaWQifX0=--125f84be557916c2165c69a2ba236746387b8efb/package_T49Qo07-MF.png)

1. Go to the **Packages** tab in the left-side pane.
2. Select the package for which you want pre-filled values.
3. Click the&nbsp;**View package page**&nbsp;in the top-right corner.
4. You can modify the URL as explained above and share it with the respective person.