PerfectForms Forums » General

Cancel not Cancelling

(4 posts)
  • Started 2 years ago by mcroft66
  • Latest reply from ijobling
  1. mcroft66
    Member

    Would anyone know why the Cancel on my OK/Cancel buttons still submits the form?

    The setup of the message type is as follows

    Select "Ask for confirmation"
    Select "OK or Cancel"
    Tick "Stop execution if 'cancel'"

    However, when the user selects cancel, the for still submits.

    Any clues?

    Thanks.

    Posted 2 years ago #
  2. ijobling
    Member

    The 'stop execution if cancel' will mean that any subsequent actions on your script will not then be executed. if you have your 'submit data' action after the 'show message' set as you mention here and the users select 'cancel' then the submit data shouldn't run.

    Posted 2 years ago #
  3. mcroft66
    Member

    This is what seems to be happening. I placed an Info Show Message command immediately after the one where I need to cancel just to see if the script continues, it doesn't, however the form still submits the data.

    Could I have something else wrong in the placement of the message where I need to cancel?

    Posted 2 years ago #
  4. ijobling
    Member

    all you should need to do is to replace this second 'show message' script action with the submit data action. if you have another mechanism handling the 'submit data' that could be triggered elsewhere.
    Could you send over an export of your form to us (support@perfectforms.com) and can have a look to see what is going on for you
    Ian

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture