Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - Smart Tag Improvement and Add Query Strings #684

Closed
wants to merge 17 commits into from

Conversation

JackRourkeK
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

Previously, users were not able to use the shortcodes parameters to auto-fill the form and re-using one form multiple times by passing different values. For Example, A form can be created for an event for a particular location and can be used multiple times. This PR enables the feature by which they can pass multiple variables as a parameter and use a single form for varieties of event creation.

How to test the changes in this Pull Request:

For Smart Tag Improvement:

  1. Open the Form Builder area.
  2. Go to Form Settings.
  3. Click on Email Settings.
  4. Click on the Smart Tag icon to add Date or Time Smart Tag.

Closes #448

For Query Strings Feature:

  1. Open the Form Builder area.
  2. Select a particular field and go to Field options.
  3. Go to Advanced Options and tick mark on Allow fields to be populated dynamically. This will open an input box. Type the parameter name for that field.
  4. Create any Post or Page and use shortcode for the form with extra parameter as field_values="param1=value1&param2=value2". Here field_values is the name of the shortcode attribute. param1 is the name of the parameter you applied previously in the field setting. value1 is the value you want to pass when a user browses from the front-end.
  5. That's all. This can be used by passing values and parameters to various pages and post for the same form.

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (modification of the currently available functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully ran tests with your changes locally?
  • Have you updated the documentation accordingly?

Changelog entry

Enhancement - Smart Tag Improvement and Add Query Strings.

@JackRourkeK JackRourkeK requested a review from shivapoudel as a code owner June 11, 2021 16:01
@JackRourkeK JackRourkeK requested review from milan1750 and removed request for shivapoudel June 11, 2021 16:02
@JackRourkeK JackRourkeK self-assigned this Jun 11, 2021
@shivapoudel shivapoudel added this to the 1.7.5 milestone Jun 16, 2021
@JackRourkeK JackRourkeK requested a review from Sanjuacharya June 17, 2021 06:53
@JackRourkeK JackRourkeK modified the milestones: 1.7.5, 1.7.6 Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide additional form email <tags> for date and time
3 participants