• Resolved jaumerrr

    (@jaumerrr)


    Hello,

    I have setup a form that sends the values of the fields to an external website, but I have a problem with the value sent on date fields.

    The value of the date fields are Y-m-d (set in global configuration), and are shown correct in the form and also in the html source when selected ( ex: value=”2023-10-17″ ).

    On the form action redirect I insert the values of the fields in the url where I want to submit the form values but the dates fields are sent with a value that is not the one in the forms (october%2017%2C%202023), are sent like this:

    https://myexternalwebsite.url/es/step-1?id=12345&arrival=october%2017%2C%202023&departure=october%2019%2C%202023&adults=2&children=0&view=grid

    How can I make so it sends the real value of the date fields instead of that formated one that I don’t know where it comes from?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jaumerrr

    (@jaumerrr)

    Hello,

    I found the solution myself, the date fields values are formatted with the date format you have selected on the WordPress general config overriding the Formidable forms setting. I set the WordPress date format to Y-m-d and now it works correctly.

    Plugin Support Njones35

    (@njones35)

    Hi @jaumerrr

    I’m delighted you found a solution so quickly.
    Have a great day!

    Nathanael.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date field redirect value not correct’ is closed to new replies.