Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #611096

    Hello,

    We have been using the Enfold contact form element on our site for a while now, but would like to post a number of values (Villa name, arrival date and departure date) from our search results page through to the form so that the user arrives at the form with the fields pre-populated if they have already done an availability search for a particular villa that they want to reserve.

    Is there any way that we can post data to the page containing the form element to achieve this?

    Ideally we don’t want to alter the underlying theme code in a way that is likely to break future theme updates.

    Thanks in advance for your input.

    #612020

    Hey RTLindsay!

    it would require a huge amount of time and customization of the theme and that is why you would need to hire a freelance developer for this job.

    Best regards,
    Andy

    #616289

    Hi Andy,

    Thanks for getting back to me. I am surprised that this is not something that has been requested by more users of the theme. Line 336 of the class-form-generator.php file states:
    * The text method creates input elements with type text, and pre-fills them with $_POST values if available.
    I was hoping that this would provide me with a hook to achieve my goal in this scenario, but maybe I was mistaken?

    #617527

    Hey!

    you can try to do it, but maybe there is a plugin out there with such a function. Otherwise you would need to hire a freelance developer for this job, as already mentioned.

    Cheers!
    Andy

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