• deborah86

    (@deborah86)


    The form element is already an HTML element. Yet, WordPress does not have a form block in its core. I would love to see a basic form block added so a plugin is not needed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Joy

    (@joyously)

    That does not make sense, because you always need some code to handle the data entered in a form.

    Thread Starter deborah86

    (@deborah86)

    What additional code would be needed to handle the data besides a simple php script?

    WordPress has all of the funcitionality built into it already to handle this. The developers would need to just create the form block. Maybe there is something I am missing.

    Joy

    (@joyously)

    You have to sanitize the data before use, and the data could be any type.
    And if the data is to be stored (any type — where does it go?), you have to be able to retrieve it and do something with it (any type).
    Each form would have different fields and different use of those fields. It’s not something that can be done generically, so while you think it would be “a simple php script”, it is definitely not.

    Thread Starter deborah86

    (@deborah86)

    I don’t know the complexities of creating a block. Adding a form to a WordPress page or post requires a simple PHP script and the creation of a template. The script isn’t that more complex when adding additional fields.

    WordPress.com already offers a basic form block. Why can’t this feature be added to www.remarpro.com?

    It seems like WordPress.com was able to create this block.

    Joy

    (@joyously)

    Yes, they created a plugin to add that Form block, which is limited in what input fields it has.
    There are many plugins available to add more blocks. Core WP does not need to contain every block. There is a 80/20 rule that is used to gauge whether something should be in core. WP is blog software, and set up to handle and store comments, per page. Anything additional can easily be done by a plugin.

    Since you say you don’t know the complexities of creating a block, let me enlighten you on this one. It is not “a simple PHP script and a template”. It is quite complicated and mostly Javascript.

    Thread Starter deborah86

    (@deborah86)

    I don’t understand why WordPress asks for feedback and suggestions if you are not open to feedback and suggestions. I am just making a simple request to bring functionality that is already in WordPress.com to www.remarpro.com.

    The feature is already available without a plugin on the WordPress.com website. Why is it such a big deal to make it available to everyone in the core? I don’t understand why the 80/20 rule applies to www.remarpro.com but not WordPress.com.

    Joy

    (@joyously)

    I don’t understand why WordPress asks for feedback and suggestions if you are not open to feedback and suggestions.

    It’s not that we are not open to it, it’s that this forum is just a filter so we can direct you to the appropriate place, because the developers don’t have time for that.

    The feature is already available without a plugin on the WordPress.com website.

    No, a limited version is available by using a plugin on the wordpress.com site.

    I don’t understand why the 80/20 rule applies to www.remarpro.com but not WordPress.com.

    They are totally separate organizations. The WP developers use the 80/20 rule to keep core efficient.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Basic Form Block’ is closed to new replies.