Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #632209


    We’re having a problem with the “Date field” on the form. We’re wanting to change the variable within the form. We were able to change the date field using the following filter:

    add_filter(‘avf_datepicker_date_placeholder’, ‘new_date_placeholder’);
    function new_date_placeholder() {
    $placeholder = “MM / DD / YY”;
    return $placeholder;


    While that DOES change the field, it does not change the actual date requirement and now we’re getting MM/DD/YY on the place holder, but we’re getting DD/MM/YY via the e-mail that get’s sent out to us. .

    What we’re wanting to do is actually make the form send out the MM/DD/YY via e-mail when a person submits the request. When we add the code, it changes the place holder, but it does not change the actual variable. We’re still getting DD / MM / YY through our mailbox.

    I’m not trying to change the place holder, I’m trying to change the actual variable that goes through when a date is selected.

    Do you know of a solution to that?


    Hi TekBull,

    Could you provide us with a link to the site in question so that we can take a closer look please?


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.