Home › Forums › Calendar Products › Community Events › Required fields
- This topic has 17 replies, 3 voices, and was last updated 9 years, 11 months ago by
Support Droid.
-
AuthorPosts
-
April 21, 2016 at 8:34 pm #1105735
HOLLY
ParticipantHow do you define what the user is missing from the “required” form with this tag?
April 21, 2016 at 10:10 pm #1105777Geoff B.
MemberGood evening Holly and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.Just to make sure I understand correctly, are you:
- Trying to change the message of what is missing for a built-in field ?
- Trying to change the message of what is missing from a custom required field ? (that you made a required field)
If you haven’t done so already, I would recommend reading the following: https://theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form/
Additionally, you could use the clever “replace any string” snippet found here to accomplish what you are looking for (I’m pretty sure): https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/
Let me know how that goes.
Best regards,
Geoff B.April 22, 2016 at 4:48 am #1105824HOLLY
ParticipantI guess what I need to know first is what does this stand for?
_ecp_custom_2
Then I change change the wording string.
Also, how do I leave off the Timezone?
April 22, 2016 at 5:38 am #1105844Geoff B.
MemberGood morning Holly,
That’s a very good question.
_ecp_custom_2 is actually not a built-in field (it was added by somebody on your end – either the theme developper or the Dev person that has worked on your website).
But based on the name, I can only imagine that this actually stands for Events Calendar Pro Custom Field 2. So this has to refer to some extra field that has been added to your Community Event form. Without seeing the whole form, I can’t know for sure, but I would be glad to look at screenshot or a URL.
Also, how do I leave off the Timezone?
You could either hide through CSS (I could give you a CSS rule if I can take a look at your website’s community page), OR I believe could hide it using Events -> Settings -> General and scrolling all the way to the bottom (there is a timezone checkbox)
Let me know if that helps.
Have a great day!
Geoff B.
April 22, 2016 at 7:32 am #1105897HOLLY
ParticipantURL: http://67.20.76.144/~townpla2/events/
I have content that is before calendar. It is being cutoff by the events search form.
When I click on “My Events” – the content posts twice.
April 22, 2016 at 8:27 am #1105919HOLLY
ParticipantI also need specific fields within the “Venue” and “Organizer” to be required. It seems that when you type in one field, (Venue Name) the submission goes through.
April 25, 2016 at 2:18 pm #1106806Geoff B.
MemberGood evening Holly,
I have content that is before calendar. It is being cutoff by the events search form.
I believe you are referring to the before HTML section, based on a quick inspection of your site.
It seems like there are a few customizations to this website, so it’s possible we’ll need some CSS to get things working as they should.Try adding height via CSS to the section:
.tribe-events-before-html {height:240px}When I click on “My Events” – the content posts twice.
I am not sure exactly what you are referring to here, but I’d love to help.
Can you share a screenshot ?
I also need specific fields within the “Venue” and “Organizer” to be required.
That is true, by default the venues are not mandatory fields for community events.
I assume you tried applying the procedure described here ? https://theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form/
Can you confirm?
Best regards,
Geoff B.
April 26, 2016 at 10:52 am #1107282HOLLY
Participant1)I believe the css for the html before content worked.
2)When I click to add an event via Community Events, there is a “My Events” link. When I click on that when I’m logged in, see screenshot… the content posts twice.
3)I have read that post. I added the “required” strings and function.php. But, not all of the fields in Organizer and Venue are “required”. I can just enter the name of the Organizer and the post still goes through when submitted instead of prompting user to fill in all required fields.
April 26, 2016 at 3:10 pm #1107373Geoff B.
MemberGood evening Holly,
I’m glad the CSS worked out for you.
But let’s tackle your other issues as well 🙂2)When I click to add an event via Community Events, there is a “My Events” link. When I click on that when I’m logged in, see screenshot… the content posts twice.
Thank you for the extra clarification. To be able to troubleshoot this, I would actually need an organizer (not admin) temporary account. Otherwise, I cannot see the “My events” link.
Also, as a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
3)I have read that post. I added the “required” strings and function.php. But, not all of the fields in Organizer and Venue are “required”. I can just enter the name of the Organizer and the post still goes through when submitted instead of prompting user to fill in all required fields.
Oh! I’m sorry about that, this snippet was just reported broken.
Our dev will take a look at it and report the solution as soon as possible.
Unfortunately, I cannot commit to a release date at this point. But stay tuned!Best regards,
Geoff B.
April 28, 2016 at 9:56 am #1108316HOLLY
ParticipantThis reply is private.
April 28, 2016 at 8:56 pm #1108599Geoff B.
MemberGood evening Holly,
Thank you for the organizer login info.
I logged in and see what you mean. I would be interested to get your system information to investigate this further, if you don’t mind: https://theeventscalendar.com/knowledgebase/sharing-sys-info/
In the meantime, you could hide it via CSS:
.tribe_community_list .tribe-events-before-html {display:none !important}
.tribe_community_list #tribe-community-events .tribe-events-before-html {display:block !important}Let me know how that goes.
Best regards,
Geoff B.May 3, 2016 at 2:00 pm #1110197HOLLY
ParticipantThis reply is private.
May 3, 2016 at 7:30 pm #1110283Geoff B.
MemberGood evening Holly,
Thank you for sharing your system information.
The specific duplicate content bug for Community Events was fixed as part of version 4.1.1 of that plugin.
The only other cause I can think of is that there might be some template customization (based on code prior to that version) that is found either in the /tribe-events/ folder or in the functions.php file of your WordPress directory.
Could you confirm is there is such a folder in your WordPress theme’s directory ?
Also, did my suggest CSS fix work for you ?
Have a great day!
Geoff B.
May 4, 2016 at 5:51 am #1110382HOLLY
ParticipantYes, the CSS worked for my laptop view but I need a separate code for mobile please.
Can you tell me how to get rid of the Timezone section of Event Date & Time?
I don’t see anything in functions.php or a functions file in tribe-events folder??
May 4, 2016 at 4:45 pm #1110753Geoff B.
MemberHi again Holly,
Thank you for your answer.
Here is a new rule to add to your CSS to support mobile as well.
@media only screen and (max-width: 767px) {
.tribe-events-before-html {
height: auto !important;
}
}Can you tell me how to get rid of the Timezone section of Event Date & Time?
You can turn this off site-wide by going to Events -> Settings -> General and unchecking the Show timezone checkbox
I don’t see anything in functions.php or a functions file in tribe-events folder??
This is more for my curiosity since we managed to solve most of the issues.
If you don’t mind, I would love a complete copy (in a zip file and in a private reply) of your theme’s folder. But that is absolutely optional.
Best regards,
Geoff B.
-
AuthorPosts
- The topic ‘Required fields’ is closed to new replies.
