support.cubewp.com support.cubewp.com
  • Helpdesk
  • Support Forum
Get CubeWP
support.cubewp.com support.cubewp.com
Get CubeWP
support.cubewp.com
  • Helpdesk
  • Support Forum

Docy

Custom Fields Types

  • Folder icon closed Folder open iconText
  • Folder icon closed Folder open iconNumber
  • Folder icon closed Folder open iconEmail
  • Folder icon closed Folder open iconURL
  • Folder icon closed Folder open iconPassword
  • Folder icon closed Folder open iconText Area
  • Folder icon closed Folder open iconWysiwyg Editor
  • Folder icon closed Folder open iconoEmbed
  • Folder icon closed Folder open iconFile
  • Folder icon closed Folder open iconImage
  • Folder icon closed Folder open iconGallery
  • Folder icon closed Folder open iconSwitch
  • Folder icon closed Folder open iconColor
  • Folder icon closed Folder open iconRange
  • Folder icon closed Folder open iconDropdown
  • Folder icon closed Folder open iconCheckbox
  • Folder icon closed Folder open iconRadio Button
  • Folder icon closed Folder open iconGoogle Address
  • Folder icon closed Folder open iconDate Picker
  • Folder icon closed Folder open iconDate Time Picker
  • Folder icon closed Folder open iconTime Picker
  • Folder icon closed Folder open iconPost
  • Folder icon closed Folder open iconTaxonomy
  • Folder icon closed Folder open iconUser
  • Folder icon closed Folder open iconRepeating Fields
  • Folder icon closed Folder open iconReview Stars (Pro)
  • Folder icon closed Folder open iconTimings (Pro)

Color

Estimated reading: 2 minutes 979 views

Color field in a form is to enable users to select a specific color using a color picker for various applications, such as styling or design choices.

Filed Settings:

Field Label: Color

Field Name: You can edit the field name by unlocking the field

Description: An optional field where you can provide an explanation of the color field’s purpose.

Default Value: You can set a default color value (e.g., “#eee”) that will be pre-filled when users access the field.

Validation: You can make the field required by enabling this option

ID: You have the option to replace the ID with the default one

Class: In case you’d like to take control of the design

Container Class: In case you’d like to take control of the design

Metabox Field Size: This setting defines the layout of the field within the admin panel. “1/1” indicates that it takes up the full width of the available space.

Show In REST API: When set to “Yes,” the field’s data will be accessible via the WordPress REST API, allowing external applications or services to retrieve this information.

Conditional Logic: Show This Field If ( You can choose previously saved fields as conditions to control when this field is displayed)

To Learn More about Conditional Custom Fields

Preview

color
Share this Doc

Color

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by CubeWP