Skip to content

custom field validation - not validating #38

@twentyfortysix

Description

@twentyfortysix

Hello,

I tried to add a custom field validation and it seams not be working well.

I tried simple rule for time (ie. 18:00) like ##:## and later regex like /^\d{1,2}.\d{1,2}$/
None of it seams to work, or the editor gets no response when the value is entered incorect

when I save the custom field settings I got this error:
Notice: Undefined variable: c in ../wp-content/plugins/custom-content-type-manager/controllers/edit_custom_field.php on line 120 Notice: Undefined variable: c in ../wp-content/plugins/custom-content-type-manager/controllers/edit_custom_field.php on line 120 Notice: Undefined variable: c in ../wp-content/plugins/custom-content-type-manager/controllers/edit_custom_field.php on line 120

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions