• Resolved kstruyve

    (@kstruyve)


    Hi,
    Newbie question.
    I installed WP on a local server, WordPress 5.2.4. I’m using the WP editor.

    Starting to draft my first pages/posts. When editing a page in the WP editor, I would like to add to my page a checkbox, a radio box and a drop-down list, because I plan to clone this page in future. This page is a kind of template or blueprint for these future cloned pages. I would then configure/modify the checkbox, radio box, drop-down list when authoring these cloned pages. In other words the checkbox, radio box, drop-down list are NOT meant to be changed by readers of the page (it is NOT meant to be a contact form). I do NOT plan to perform any logic on these checkbox (e.g. if checkbox value equals checked then do this or that).
    The WP editor provides a (limited) set of common blocks (e.g. paragraph, list). How can I add other block types to the WP Editor?

    Thanks in advance & br, Kris

Viewing 2 replies - 1 through 2 (of 2 total)
  • checkbox, radio box, drop-down

    Checkbox, radio box, drop-down list… these are all FORM elements. Whether they include INPUT elements or not, or you want users to interact with them or not (eg as with contact forms) does not change their technical nature and how they are built: they’re still FORMS.

    Your options are:

    1) Use a traditional WordPress Form builder and insert the shortcode into your page.

    2) Use a “Gutenberg” form builder plugin that allows you to build the form right inside the page editor, just as you insert paragraph, list, etc. (eg JetPack Forms, Gutenberg Forms)

    3) January craft the HTML form code for your checklists, use a custom HTML block

    The WP editor provides a (limited) set of common blocks (e.g. paragraph, list). How can I add other block types to the WP Editor?

    You can find lots of plugins that provide additional blocks by searching for “Gutenberg” in the official WordPress plugins database:

    https://wordpress.org/plugins/search/gutenberg/

    Good luck!

    Thread Starter kstruyve

    (@kstruyve)

    Thanks for your swift help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to add a checkbox to a page in WP editor’ is closed to new replies.