This block is experimental and may change or be removed without notice.
Provide a notification message after the form has been submitted.
- Name:
core/form-submission-notification - Category: widgets
- API Version: 3
- Block Type: Hybrid (static save + server enhancements)
- Keywords:
form,feedback,notification,message
Block Relationships
Attributes
Defined via the attributes property in block.json.
Supports
Defined via the supports property in block.json.
This block does not declare explicit supports.
Block Markup
This is a hybrid block. It saves static markup that the server may enhance during rendering.
<!-- wp:form-submission-notification -->
<div class="wp-block-form-submission-notification form-notification-type-success"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#000000"}}}},"backgroundColor":"#00D084","textColor":"#000000"} -->
<p class="has-000000-color has-00-d-084-background-color has-text-color has-background has-link-color">Your form has been submitted successfully.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:form-submission-notification -->
Source
- block.json (reference)
- Source directory — browse
edit.js,save.js,index.php, and more.