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

  • SEARCH
  • Home
  • 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 7889893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:12:50+00:00 2026-06-03T06:12:50+00:00

I am currently working on a Customer Management application made in SmartGWT 2.0. The

  • 0

I am currently working on a Customer Management application made in SmartGWT 2.0.

The Add Customer form is a fairly big one with multiple tabs and each tab has lot of fields. This form is opened in a modal window which have a save and a close button at the bottom.

Since this is a huge form, sometimes the rep accidentally hits Close without noticing that there is some information in one of the tabs.

We want to add some kind of alert when user tries to close the form after he has made changes to it.

I saw that there is ChangeHandler on text items which can flag a change which can be evaluated before firing the close event. However currently doing this for so many fields is a little bit cumbersome. Is there a way of achieving this on a DynamicForm level or even better on the Window level?

I am looking for a SmartGWT equivalent of this jquery code:

$("input:text, select, input:checkbox, input:radio, input:password").change(function(){
    unloadRoutineFlag = true;
});
  • 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-03T06:12:52+00:00Added an answer on June 3, 2026 at 6:12 am

    Take a closer look at this handler at the dynamicForm level.

    addItemChangedHandler(ItemChangedHandler handler) 
    

    Handler fired when there is a changed() event fired on a FormItem
    within this form.

    Typically, when a formItem fires the changed() event, the form gets notified. Let us know if this works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I'm working on Inventory Management application (later on this can be integrated with
I'm currently working on an app for a customer of mine and it will
Am currently working on an application that requires users to submit posts and comments
I am currently working on a project for a customer who needs a video-service.
I am currently working on a project for embedded WinXp. The application refresh a
currently I am working on a spring based application. I do have some unit
I am currently working on my first asp.net mvc application. I am trying to
More than halfway through the web-service project I am currently working at, my customer
Currently working on a legacy script (PHP) for one of my customers. He just
I am currently working on a WCF application that consumes a Rails REST Service.

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.