• Resolved Knut Sparhell

    (@knutsp)


    I inserted a hidden field block into a form at entered a name for it. Form will not submit, error referring to it’s name. How to give it a fixed value, without taking av value from a query string?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Hi @knutsp,

    can you please copy the block via the three dots in the block’s toolbar and then select “Copy” and paste it here within a code block?

    View post on imgur.com

    You can just enter the value inside the text field in the backend within this block to add a value to it (this, by the way, works for all input fields in the backend within Form Block).

    Best regards,
    Matthias

    Thread Starter Knut Sparhell

    (@knutsp)

    <!-- wp:form-block/input -->
    <div class="wp-block-form-block-input form-block__element is-type-hidden"><input name="test" type="hidden" class=""/></div>
    <!-- /wp:form-block/input -->

    There is no way to access a text field to enter av value since it has no visual representation in the editor.

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    You’re absolutely right! I will work on it so that it will be displayed again. Sorry for the inconvenience.

    For now, the only possibility would be to switch to the code mode in the editor and add the value="Your value" manually within the input HTML element. 😞

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    The issue has been fixed with the latest version 1.7.3. Please visit the editor and assign the hidden input field a label, otherwise it won’t be saved nor sent via email.

    Sorry again for the inconvenience and thanks for reporting!

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

You must be logged in to reply to this topic.