This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: How to get Custom Field input text value and display on search to match my acf.

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.

#8726
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

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.