Okay
  Public Ticket #2467577
Custom field
Closed

Comments

  •  1
    vcbarrosm started the conversation

    Hi,

    how can I delete the "Number of people" dropdown in RSVP form and add a custom field like "Company name" ?

    If it has to be with custom code, which file should we edit that?

    thanks!

  •  894
    Zhivko replied

    Hi,

    You can hide number of people field via css in Fonts & Colots -> Custom style tab:

    .stec-rsvp-popup-wrapper-settings input[name="people"] {
         display: none !important;
    }


    You don't have to edit the core plugin to add rsvp custom fields. I'm attaching you code example how to add 2 additional fields (input and select) to the rsvp popup. The code should be inserted in your theme or child-theme functions.php file.



    Stachethemes Developer