- Creating and Publishing a Form
- Instant Forms
- Conversational Form
- Create Multi Step Forms In WordPress
- Using Calculations in SureForms: A Step-by-Step Guide
- Calculation Formula Guide
- SureForms Login Block – Step-by-Step Guide
- SureForms Registration Block – Step-by-Step Guide
- SureForms – PDF Generation Feature
- GDPR Compliant Forms
- Create WordPress Forms With Conditional Logic
- How to Create Inline Forms in SureForms
- How to Add Smart Tags as Default Values in SureForms
- Unable to Upload SureForms ZIP: File Unzipped On Download
- Browser Support for SureForms
- Not Getting Update Notifications
- How To Rollback to Previous SureForms Versions
- Publishing Failed: Invalid JSON Response
- Troubleshooting Email Sending In SureForms
- SureForm Submissions Marked as Spam – How to Fix
- API Request Failed – Nonce Verification Error
- Fixing the “Destination folder already exists” Error When Installing SureForms
- How to Set Up SureForms with Caching Plugins
- srfm_enable_redirect_activation
- sureforms_plugin_action_links
- srfm_quick_sidebar_allowed_blocks
- srfm_integrated_plugins
- srfm_suretriggers_integration_data_filter
- srfm_form_submit_response
- srfm_enable_gutenberg_post_types
- srfm_languages_directory
- srfm_form_template
- srfm_disable_nps_survey
How to Add Smart Tags as Default Values in SureForms
SureForms makes it easy to use Smart Tags to automatically fill form fields with dynamic data like the site URL, current page URL, admin email, and more. This is especially helpful when you want to prefill fields without user input.
Step-by-Step: Add a Smart Tag as a Default Value
1. Add a Form Field
- Open your form in the SureForms builder.
- Drag and drop a Text field into your form.
2. Give It a Name
- Click the field to edit its label (e.g., “Site URL”).
3. Set a Default Value Using Smart Tags
- On the left panel, the Default Value setting.
- Click inside the Default Value box.
4. Choose a Smart Tag
- A dropdown menu (Smart Tag Picker) will appear.
- Select a tag like {{site_url}} or {{current_page_url}} from the list.
✨ Example: If you select Site URL, it will insert {{site_url}} into the field.
5. Make It Read-Only (Optional)
- Enable the Read-only toggle.
- This prevents users from editing the field on the front end.
6. Publish the Form
- Click Save to publish the form.
What Happens on the Frontend?
Once your form is live:
- The field will automatically show the selected value (e.g., your site URL).
- If the field is set to read-only, visitors won’t be able to change it.
Available Smart Tags
Some commonly used smart tags in SureForms:
- {{site_url}} – Your website’s base URL
- {{current_page_url}} – The URL of the page where the form is displayed
- {{admin_email}} – The WordPress admin email address
- {{user_ip}} – The IP address of the user filling the form
- {{user_agent}} – The browser details of the user
You can explore more smart tags directly from the dropdown in the form builder.
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
On this page