Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add required fields

  • @ricsca2

    Participant

    Is there a way to make the user add mandatory fields every time he wants to insert a tread into a certain category?
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • @ricsca2

    Participant

    I mean custom fields

    @robin-w

    Moderator

    @ricsca2

    Participant

    I tried it and it works but then I don’t know how to move the various fields and another important thing I’m wondering is where this extra data is saved.

    @robin-w

    Moderator

    they are saved in the database post_meta table against the thread

    update_post_meta( $topic_id, 'bbp_extra_field1', $_POST['bbp_extra_field1'] );

    and you would need to define what you mean by

    I don’t know how to move the various fields

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