Besides normal ways to display fields on the website, Meta Box also provides a simple shortcode [rwmb_meta] to help you show custom fields in the post content or widgets easily.
📄️ Cloning fields
The clone feature of Meta Box allows you to create multiple inputs from a text, textarea, select, ... fields without declaring many fields in the code. Combining the clone feature with groups gives you a flexible way to define repeatable content.
Meta Box has a built-in validation module for all fields. You can use validation to make a field required, check password length, check phone number format, etc. The validation is done on the client side.
To ensure the user input is safe to save to the database, Meta Box provides a mechanism to sanitize fields' values. The sanitization is automatically applied for all built-in field types. For some fields such as select or radio, Meta Box also validates the submitted value to ensure it's a valid value (e.g. available in the field options).
Wondering how the Meta Box stores custom fields in the database? Understanding this can help you get the custom fields easily and understand the returned value from getpostmeta or helper functions.
📄️ Custom attributes