Pre-filled fields

Home Forums Calendar Products Community Events Pre-filled fields

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #713491
    worldgolfskills
    Participant

    Hello! I’m just wondering if there is any way that I can direct people to different pre-filled field submission pages? For example, we’ll be hosting hundreds of Local Qualifying events that event hosts will register for. What I’m wanting to do is provide them with a link that directs them to a submission page with preset “Event Title”, “Event Description”, “Event Category”, “Event Image”, and “Event Cost” fields so that everything for those events is the same and they can just set the date and register for an account. Is this possible?

    #713690
    worldgolfskills
    Participant

    http://www.laserfiche.com/ecmblog/article/tech-tip-using-url-parameters-to-pre-fill-form-fields

    I was able to find this post that may help to resolve the issue. Would something like this work? If so, how do I go about finding the proper variables to change? Since I don’t want to pre-fill the forms for everyone, I’m wondering if something like this might be the best route to take?

    #717240
    Barry
    Member

    Hi – great question!

    One approach would be to set up a custom form, something like this, for each scenario:

    <form action="/events/community/add" method="post">
        <input type="hidden" name="post_title" value="Some custom text" />
        <input type="submit" value="Add your event!" />
    </form>

    Note how I’m setting the post_title (and for the description you would use post_description). The downside is that this requires you set up a form – adding those same variables to the URL query, as in the article you referenced, won’t work here.

    Would the form-based approach be viable? If not (and I realize it may not be if you want to share a link via email, etc) you could still use a URL query based approach but would need to do an extra step and map the query parameters to posted fields.

    Does that help?

    #719795
    worldgolfskills
    Participant

    Hi Barry. Thanks for the information. So utilizing the approach you proposed, all that I would need to do is just direct people to a different page and embed a custom form on it?

    #719946
    Barry
    Member

    Essentially yes: the hidden fields would take care of setting the default values 🙂

    #722061
    worldgolfskills
    Participant

    Hi Barry. Do you know where I can get the code for the full form so that I can make the proper edits to it? Is there any way that I can just pay you to do it so I don’t have to go through the process of finding a developer to code it? With what you’re mentioning now, it doesn’t appear that it should be too difficult?

    #722400
    worldgolfskills
    Participant

    If we could do it this way, what I would do is hide the following fields:

    Event Title
    Event Description
    Event Categories
    Event Image
    Event Cost

    The ones that would be shown would be:

    Event Time and Date
    Venue Details
    Organizer Details
    Event Website

    Would this be possible?

    #722942
    Barry
    Member

    I’m sorry but we don’t typically take on customizations like this and – generally speaking for customizations like this one – we’re happy to point you in the right direction (and hope I have done so) but it’s really the sort of thing you’d need to drive forward by yourself, possibly with the assistance of a suitable developer.

    There are lots of knowledgeable WordPress devs available on the various freelance marketplaces – or alternatively you are more than welcome to email us at pro (at) tri (dot) be and we can furnish you wish a list of independent developers that might be interested in helping out.

    Would that work here?

    #758788
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Pre-filled fields’ is closed to new replies.