PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Different default values for different services for a spa website

  1. I have a Book Now form on each page of the services for this test spa website. They are wanting to have a different default value for each service page. For example if I was on the Massage page the form at the bottom in the "Choose your service" field the default value would be MASSAGE. If I was on the Manicure page, the default value would be MANICURES, etc.

    Is there a way of doing this without creating 30 different contact forms? Like a conditional default value of some sort?

    Posted 10 years ago on Tuesday July 9, 2013 | Permalink
  2. Sure, you can do this with dynamic population either by query string or on the shortcode placement. See here:

    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 10 years ago on Tuesday July 9, 2013 | Permalink
  3. Looks good however I'm trying to so the shortcode version but it's not working. I'm doing something wrong but not sure what. I've set the dynamic population parameter to <b>service</b> and then headed to the pedicures page to insert the shortcode:

    [gravityforms id=1 field_values='service=Choose your service:']

    but it doesn't do anything. I see that you can do multiple dynamic population parameters but I don't see how you can set that up.

    [gravityform id=1 field_values='parameter_name1=value1&parameter_name2=value2']

    would then turn into this?

    [gravityform id=1 field_values='service=facials (( &parameter_name2=value2'] <------ but then I'm not sure what I'm supposed to do with this? ))

    I've checked that the id of the gravity form is set to the proper form (I only have one anyways so the ID is right).

    Whats the best way to go about this shortcode method? :S

    Thanks!

    Posted 10 years ago on Tuesday July 9, 2013 | Permalink
  4. Do you have a link to the page where you are attempting this where you have the shortcode:

    [gravityforms id=1 field_values='service=Choose your service:']

    Posted 10 years ago on Wednesday July 10, 2013 | Permalink
  5. Hmm..I'm sorry for the delay in reply, I never received an email notification saying you replied so I thought you hadn't and though that was weird so I checked and here you are.

    Here is the page that I have placed that shortcode into.

    This is the code:
    [gravityforms id=1 field_values='service=Choose your service:']

    Here is a screenshot of the field in the form editor:
    https://dl.dropboxusercontent.com/u/85495001/service.png

    Posted 10 years ago on Saturday July 13, 2013 | Permalink
  6. David Peralty

    So for that page, have you tried?
    [gravityforms id=1 field_values='service= Massage']

    Posted 10 years ago on Wednesday July 17, 2013 | Permalink

This topic has been resolved and has been closed to new replies.