Hi all,
I am trying to create a plugin that shows a simple form with a few input fields i.e. departure date, return date, number of adults etc. and based on these inputs load an external URL e.g. www.booking/Specific_Id/20-8-108/23-8-2018/2 .
I have created the form and I have also created some settings on the admin side which contains the specific_id input, the problem is I don't know how to get the input values of the form and then load the specific URL.
I tried to post the form to a PHP file and then use the header function to load the URL but it's not working for me.
I would appreciate any help/advice you could give.