Okay
  Public Ticket #3449173
Submit Form
Closed

Comments

  •  1
    Panatda started the conversation

    Hello,

    I had a question about the submission form and multiple calendars. It seems like I can create multiple submission forms and multiple calendars, right? Is it impossible to have different calendars use different submit forms? The calendars seem to be linked to all the other calendars because there is a select calendar option on the submission form, giving everyone access to all the calendars at all times. I would like the submission to go to a set calendar.

    I want the ability to have different instances of each calendar (not all the calendars and events be tied to the calendar) and be able to attach different submission forms to only certain calendars instead of everything being shared or linked globally. I'm not sure why there is the ability to create different calendars and different forms if it forces you to use only one submit form for all the calendars.

    Looking forward to your help.

    Thank you!

    Panatda

  •  1
    Panatda replied

    I'm still waiting for a response on this ticket.

  •  877
    Zhivko replied

    To include only specific calendars to the submit form add builder__submit_form__cal to the [stec_submit_form] shortcode.

    E.g.

    [stec_submit_form builder__submit_form__cal="1,2,3"]
    [stec_submit_form builder__submit_form__cal="1,"]

    where 1,2,3 are calendar id numbers

    If you want to assign single calendar please make sure to add "," at the end of the id like in the second example above.

    There is currently a bug in this field that has not been resolved yet. The field expects a string and the comma will force the value to become a string.


    Stachethemes Developer

  •  1
    Panatda replied

    Great, thank you!

    What if I want to use a certain submit form for a specific calendar? I believe the shortcode there is assigned the default submit form to a particular calender ID? Since there is no ID telling it what submit form is being used. For example, I want to assign submit form ID #3 to Calendar ID #3.

  •  877
    Zhivko replied

    This shortcode will load submit form with id 3 and allow only calendar with id 3.

    [stec_submit_form builder__submit_form_id="3" builder__submit_form__cal="3,"]



    Stachethemes Developer

  •  1
    Panatda replied

    Thank you!