Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:01:40+00:00 2026-06-11T00:01:40+00:00

The description of the onScreenSubmitted system event is Event that fires before a screen

  • 0

The description of the onScreenSubmitted system event is

“Event that fires before a screen is submitted, to allow widgets to prompt for unsaved changes, etc.”

But I cannot find any information as to how I can actually halt submission from within it. It’s not too useful to be able to notify the user that they have unsaved changes if you can’t prevent the discarding of the changes from going through.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:01:41+00:00Added an answer on June 11, 2026 at 12:01 am

    In order to cancel the submission of the screen you’ll need to have a custom action widget which simply returns “false” to the execution state:

    run: function(state) {
        state.getExecutionState().setReturnValue(false);
    }
    

    Then in the screen you should be able to use your action widget somewhat like that (I called action widget “cancel-event”):

    <when system-event="onBeforeScreenSubmit">
        <if>
            <confirm message="Are you sure you want to leave?" />
            <else>
                <cancel-event />
            </else>
        </if>
    </when> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Description: If we use java objects jruby get permgen too: System.out.println(Initialazing..); //Spring applicaton context
Description: I am creating comment/reply functionality to a web app that I built. I
Description According to the explain command, there is a range that is causing a
Description: I have a column(EmailsAdress) on a table(BusinessUsers) on my databases that stores email
Initial description: My application handles some events and do some task related to that
Description of my problem sounds somewhat complicated, what makes me think that my approach
Description for java.lang.IllegalStateException from the Java docs: Signals that a method has been invoked
DESCRIPTION I have two datasets with information that I need to merge. The only
Description: Somewhere below BODY is a DIV, say <div id=keepme></div> , that should be
Description: I have an Outlook macro that loops through selected emails in a folder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.