• Hi,

    I was wondering if it is at all possible to get the value of a date picker field through the DOM?

    I tried to add an ID to the field, but of course this is only for the wrapper. I can see that an ID is added to the hidden input field (where the value is) however the ID something like acf-field_5e05…. I am going to assume that this is a dynamic ID and should be need used by our code to get the value (as the ID can change).

    Is there any way to set a custom ID for that field (the hidden input one)? Or is the ID that Advanced Custom Fields is generating static and will not change (thus allowing out code to access the value).

    Cheers!

  • The topic ‘Get the value of a date picker via the DOM’ is closed to new replies.