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 7704979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:47:44+00:00 2026-05-31T23:47:44+00:00

My form contains a ComboBox and a TextField. Whenever the user selects something in

  • 0

My form contains a ComboBox and a TextField. Whenever the user selects something in the ComboBox, the TextField’s content is set to some value depending on the selection. The problem is that the TextField has a Validator attached which takes a long time to process. Only after the validation is complete, the TextField’s new value is shown. Is it possible to show the new value before the validation or somehow doing the validation in a background thread? As the Validator implements an interface with a boolean method, I have to return something so I don’t know how I could do this.

  • 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-05-31T23:47:45+00:00Added an answer on May 31, 2026 at 11:47 pm

    You could try the Refresher addon. Don’t add a validator using addValidator(Validator) method but add a ValueChangeListener and run the validator in a background thread.

    Just add the Refresher somewhere in your layout and enable it after the value of the text field has changed. You can start a new thread in the valueChange method and let Refresher poll the server side until the validator has finished.

    Let me know if you need an example. I haven’t done this by myself but this is how I would try to solve the problem.

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

Sidebar

Related Questions

I have a form that contains dataGridView, whose coloumn are set to dgrv1.Width =dgrv1.Columns.GetColumnsWidth(DataGridViewElementStates.Visible)+20;
I have a model form that contains a DecimalField() with max_digits set to 5.
Can I send an email that contains an HTML form with one combobox, that
I currently have two comboboxes on a form. The first combobox contains a list
I have a form which contains infinite number of options which user and add.
I have a parent form, which contains panels that calls different user control. For
I have a Qt Form that contains 2 combo box messages. The second combobox
When i load a form that contains a combobox, i noticed that the comboBox_SelectedIndexChanged
My form contains a textbox for date input. When submitted the data is used
A form contains many elements, such as labels, Textbox, radio options box etc How

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.