Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author doublesharp

    (@doublesharp)

    Just got to a coffee shop so I can take a look right now 🙂

    Is the validation not working or do you get any errors? What type of validation / configuration are you using?

    If you would rather I check out your install just send me the info here: http://justinsilver.com/contact/

    Thanks!

    Thread Starter MisterR

    (@mister_r)

    Message sent.

    Plugin Author doublesharp

    (@doublesharp)

    Just re-read the title and see that you are not having a problem with the validation, but with the input masking. It should be fixed in my local version, doing a bit more testing and I will have an update for you.

    Plugin Author doublesharp

    (@doublesharp)

    Hi @misterr

    It looks like the issue is with the DOM selectors and how they were being managed between the parent and sub field, which is the internal structure of a Validated Field type. I corrected the way that the $field['prefix'] is passed and used with the $field['name'] to generate the $field['id']. It gets a little tricky due to the need to support repeater fields which include an index for each of its sub fields (meaning Validated Field is really a sub sub field).

    Can you please try this dev build of the plugin and let me know if it works for you and if so I will tag is as v1.5.2.

    validated-field-for-acf.zip

    Thanks!

    Thread Starter MisterR

    (@mister_r)

    Yes, it works! Thank you very much!

    Plugin Author doublesharp

    (@doublesharp)

    I’ve unfortunately found a case where it is not working properly – adding multiple new fields to a repeater. Just worked out a solution but it is going to require a bit more testing before I can tag a new version, and I have a few more updates to make as well.

    Please keep using the dev version above for now, but keep in mind it isn’t correctly applying the mask if you add multiple rows to a repeater.

    Plugin Author doublesharp

    (@doublesharp)

    I have the masking working across the board now and also added a few more updates to the code for unique checking, etc. Would you mind giving this updated dev build a try before I tag it as 1.6?

    If this works for you – unless you have any other issues – maybe you could update your review? Thanks!

    validated-field-for-acf.zip

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Input mask doesn't work in version 1.5.1’ is closed to new replies.