Can I have the thank you page calculate a response based on information completed in the form.

  • Profile Image
    Asked on February 28, 2012 at 10:12 PM

    We are a cleaning services business, our form will ask the user to complete information about their property.  e.g. nmber of bedroom, bathrooms, lounge/dining etc.  

    We would like to be able to have the thankyou form to look something like this

    Thankyou for your enquiry.

    To clean your 3 bedroom 2 bathroom home on will cost you approximately $300.00 and will take us between 6 to 8 hours to complete.  On of our freindly consults will be calling you soon. 

  • Profile Image
    Answered on February 28, 2012 at 11:02 PM

    It would involve some minor scripting.

    I would do it in php and take the POST values from your form and assign them to variables.  Then you can evaluate the variables to determine price.

    So on your thank you page you would have some like:


    $room = $_POST[bed_room]

    if ($room <= 3) {

    print("To clean your" . $room . " house it will be $1000");


    else if {

    if ($room<= 10 && $room >3) {

    print("To clean your" . $room . " house it will be $2000");



    Someone may have a better answer, but that's how I would do it.

  • Profile Image
    Answered on February 29, 2012 at 07:02 AM

    Just as what chiseled_images, shared.  That's how I would put it as well.  It would not be possible to place it on the custom message thank you page, so you will have to turn on the post data submission of your form and have your custom URL thank you page handle the computation.

    You can read on this user guide on how to turn on post data on your form.