Home › Forums › Calendar Products › Community Events › Pre-filled fields
- This topic has 8 replies, 2 voices, and was last updated 11 years, 7 months ago by
Barry.
-
AuthorPosts
-
August 31, 2014 at 6:25 am #713491
worldgolfskills
ParticipantHello! 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?
August 31, 2014 at 8:37 am #713690worldgolfskills
Participanthttp://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?
September 2, 2014 at 8:03 am #717240Barry
MemberHi – 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?
September 3, 2014 at 10:46 am #719795worldgolfskills
ParticipantHi 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?
September 3, 2014 at 12:01 pm #719946Barry
MemberEssentially yes: the hidden fields would take care of setting the default values 🙂
September 4, 2014 at 8:48 am #722061worldgolfskills
ParticipantHi 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?
September 4, 2014 at 12:17 pm #722400worldgolfskills
ParticipantIf we could do it this way, what I would do is hide the following fields:
Event Title
Event Description
Event Categories
Event Image
Event CostThe ones that would be shown would be:
Event Time and Date
Venue Details
Organizer Details
Event WebsiteWould this be possible?
September 4, 2014 at 4:45 pm #722942Barry
MemberI’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?
September 22, 2014 at 7:55 am #758788Barry
MemberHi! 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!
-
AuthorPosts
- The topic ‘Pre-filled fields’ is closed to new replies.
