Events Made Easy Forums How do I … Front End Submit- Req fields and Contact Email

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52804
    Anonymous
    Inactive

    Just got into this plugin, loving it so far. Great work Franky. On the front end submit is there a way to make other fields required? Also I can’t seem to find out where the contact person email data gets sent to. Thanks!

    #52805
    Franky
    Keymaster

    The contact person is the one who normally created the event, unless defined otherwise in the event.
    Concerning the required fields: with a little bit of jquery, you can make other fields required as well. As an example, this should work (untested, change “inputfield” to the id of the field you want required):

    
    jQuery(document).ready( function($) {
        $("#inputfield").prop('required',true);
    });
    

    And google on “jquery make field required” 🙂

    #52806
    Anonymous
    Inactive

    Thanks for the response.

    Exactly the contact person who created the event, but if a guest comes to the webpage and creates an event the event details gives me the option of making the contact person “Event Author” or my username, however if the default status of event is ‘Draft’ and I go in later and make it public, it then makes me the event author when I call #_CONTACTEMAIL. Therefore I have no idea what information was put into “contact email” when the event was created. Is there a way to get it shown on the backend before making the event public?

    #52808
    Franky
    Keymaster

    Well, I’ll make it more clear in the backend. If the contact person is the “event author”, and that one is empty (like when submitting via the frontend submission form), the following text will be shown:

    Since the author is undefined for this event, any reference to the contact person (like when using #_CONTACTPERSON when sending mails), will use the currently logged-in user info.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top