I'd like to display different custom messages at "Confirmation Window" and "Submission Window". What should I do?You can display different custom messages at "Confirmation Window" and "Submission Window" by using the name of "submit button" which "All Post Contact Form" automatically creates on the "Confirmation Window". Concretely, do the steps below:
$disp_result = $_POST["apcf_submit"]; if($disp_result == "Name of the submission button you set at the settings tab of 'All Post Contact Form' at your WordPress Admin Window"){ $disp_result = "OK"; }
if($disp_result == "OK") {
// message you'd like to display on your "Submission Window" }else{ // message you'd like to display on your "Confirmation Window" }
( 2018/February/15, 00:21:11, JST ) |
Search the FAQ DataBase |