Creating separate submission forms for different categories

Home Forums Calendar Products Community Events Creating separate submission forms for different categories

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1627134
    hannujaatinen
    Participant

    Hi,

    We have a great association registry / event site but now we need to add a new event category to the site, and it should have it’s own separate submission form.

    I’ve read some previous threads on the topic and I know that I can customise the categories shown on the Community Events submission form but it is possible to create two (or 3 or 4 in the future) submission forms for different categories?

    This would allow us to make it impossible to forget selecting the right category, i.e. to improve usability?

    #1627905
    Andras
    Keymaster

    Hi hannujaatinen,

    Thanks for reaching out!

    Wow, that is something.

    Out of the box that is not possible, but with some custom development and template override I guess it could be possible.

    One of the approaches could be the following:

    Create a template override of the submission page.

    Create a parameter check at the beginning of the file what version is loaded. The forms / page could be loaded with different parameters, like:

    http://domain.com/events/community/add?version=1

    Depending on the version load different rules / fields / categories, whatever you need.

    Does this help you get started with this?

    I can customise the categories shown on the Community Events submission form

    Out of curiosity, can you share those threads of the snippet here with me?

    Thanks and cheers,
    Andras

    #1627984
    hannujaatinen
    Participant

    I’ve modified the Community events submission form already (quite a lot) but how do I do this part?

    Create a parameter check at the beginning of the file what version is loaded. The forms / page could be loaded with different parameters, like:
    http://domain.com/events/community/add?version=1
    Depending on the version load different rules / fields / categories, whatever you need.

    #1628896
    Andras
    Keymaster

    Something with this: http://php.net/manual/en/reserved.variables.get.php

    
    <?php
    if ( $_GET['version'] == 'signup' ) {
    do this...
    }
    elseif ( $_GET['version'] == 'registration' ) {
    do that...
    }
    else {
    do something else...
    }
    ?>

    And then the urls would need to be like:
    http://domain.com/events/community/add?version=signup
    http://domain.com/events/community/add?version=registration

    Does this help?

    A.

    #1643790
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Creating separate submission forms for different categories’ is closed to new replies.