Custom Fields
Re-Envisioned
Support MB Frontend Submission Build Frontend form with php

  • Creator
    Topic
  • #29615
    Resolved luigi gaudino
    Participant

    Hello i'm using shortcode to display a frontend form like: [mb_frontend_form id='contatti' post_fields='nome,emailcontatto,messaggio' submit_button='Invia' confirmation="Messaggio inviato!"]

    All is working good.

    Can i build a frontend form using php? (i would like to write my custom html to display form).

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #29627
    Long Nguyen
    Moderator

    Hi Luigi,

    Can you please clarify the question?

    Do you want to build a form from scratch or insert the frontend submit form into your PHP code?

    #29642
    luigi gaudino
    Participant

    Hi Long,
    I would like to insert custom html between metabox custom fields on frontend submission, i guessed i have to use php, but if it's possible in another way it's ok for me.

    #29648
    Long Nguyen
    Moderator

    Hi,

    If you want to add some HTML code between fields, you can follow the field appearance filters documentation https://docs.metabox.io/filters/#field-appearance-filters

    #29651
    luigi gaudino
    Participant

    Fantastic, what i was looking for.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.