Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › How to get Custom Field input text value and display on search to match my acf. › Reply To: How to get Custom Field input text value and display on search to match my acf.
The custom field value is submitted to the other page via the $_POST variable, as far as I can see from the form source, it should be in the $_POST[‘options’][‘aspf1_11’][‘postcode’] array key.
Please note, that the $_POST variable is cleared when the page is reloaded!
Usually, if I can’t find a posted value, I use var_dump($_POST); statement, it prints out everything, that is sent through the target page.
- This reply was modified 7 years, 4 months ago by Ernest Marcinko. Reason: fix
If you like my products, don't forget to rate them on codecanyon :)