Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @freshspace,

    From what you’ve described, it wouldn’t be possible because the very first step there isn’t any WPForms functionality activated, since there is no form embedded on the page, and the Smart Tag {url_referer} is being used outside of a form (or an area that is part of our plugins functions).

    The only way this workflow could possibly work is if the https://www.heydayscare.co.uk/job/job-two-example/ page has a WPForms form embedded, in which a field (such as a Hidden Field) is pulling the page title (via {page_title}), because the Smart Tag needs to be utilized within WPForms in order for it to process. By using it in the URL alone will not allow the Smart Tag to process, because that is in the browser and not within WPForms.

    What I would suggest then, is in place of the “Online Application” button, you embed a form that only has a Hidden Field, where it’s default value is set to {page_title}. Please see this screenshot for reference.

    Then in that form’s Confirmation settings, you set it to Redirect to your application form’s page, but with the query string included for the Hidden Field’s data, by using the {field_id} Smart Tag. Please see this screenshot for reference.

    You can then use this as your “button”, since the form would only have a Hidden Field, which means only the Submit button would be clearly visible. You can see my example in this screenshot.

    This process would generate the Page Title value from where the button was clicked, record it into the first form, then send it to your application form through Query String.

    These following articles should also be helpful with what you need to achieve this set up.
    1 – Dynamic Field Population
    2 – Smart Tags
    3 – Redirect Users after Form Submission

    I hope this workaround is helpful! Please give this a try and let us know if you have any further questions ??

    Hi @freshspace,

    We haven’t heard back from you in about a week, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

    Thread Starter Freshspace

    (@freshspace)

    Hi @henrycee,

    Sorry I’d missed yuor response.

    The work around sounds like it might just work so we’ll give that a go and let you know how we get on.

    Thanks,
    Darren

    Thread Starter Freshspace

    (@freshspace)

    Hi again @henrycee,

    OK, I’ve made some progress but still need some advice.

    So, I followd the above. On this page https://www.heydayscare.co.uk/job/support-worker-barrow-in-furness/ this now uses an embdeded form whicb uses a hidden field, upon submission it redirects to https://www.heydayscare.co.uk/join-us/vacancies/job-submission/?wpf4886_24=Support Worker – Barrow-in-Furness

    The redirect code looks like this: https://www.heydayscare.co.uk/join-us/vacancies/job-submission/?wpf4886_24={field_id=”1″}. 4886 bein the form id, 24 being the field id of job title on the following page. {field_id=”1″ being the hidden form id.

    As you can see it’s pulling through the Job Title (Support Worker – Barrow-in-Furness) which is great but then on that page how do we get it to put the job title into the Job Title field? This is currently blank.

    So how do we then get the title into the Job Title field? I tried the page title but we don’t want that, only Support Worker – Barrow-in-Furness.

    Thanks,
    Darren

    Hi @freshspace,

    Unfortunately we wouldn’t have any feature that would help you to automatically modify or discern specifically what information is being taken.

    I have an idea that for a workaround that should provide the result you’re looking for, however it means you’ll need to manually maintain this list of individual job titles, which I believe you’re trying to avoid with the current work flow.

    What I would suggest as a workaround would be to add a bunch of Single Line Text Field’s (for the Job Title field), with each one having the Default Value filled with a Job Title. Then each of those Job Title fields would have Conditional Logic applied so that it shows based upon the text provided in the Page Title field.

    For your example, the Job Title field that has Default Value set to “Support Worker – Barrow-in-Furness” would have the conditions set to Show when (field #24) containsSupport Worker – Barrow-in-Furness“. I’ve included a screenshot here for your reference – https://a.supportally.com/7FTU6B

    However, just in case I’ve misunderstood you, is the Page Title value okay to be exactly the same and added to the Job Title field? If it is, then you can just add onto the query string and have it add the same data to the Job Title field also.

    You can further add to query string with “&”.

    For example:
    https://www.heydayscare.co.uk/join-us/vacancies/job-submission/?wpf4886_24={field_id=”1″}&wpf4886_77={field_id="1"}

    More information about query strings can be found in these two articles:
    1 – https://wpforms.com/docs/how-to-use-query-strings-to-auto-fill-a-text-field/
    2 – https://wpforms.com/developers/how-to-enable-dynamic-field-population/

    I hope that helps!

    Thread Starter Freshspace

    (@freshspace)

    Hi @henrycee

    Thanks for your help on this. It’s not exactly what we want but I think we’ll be able to work with it.

    Much appreciated.

    Darren.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Send page title to form’ is closed to new replies.