[Solved] How Does "FormItem" Work?

1 Answer 123 Views
AJAX and Web 2.0 Forum suggestions Telerik Trainer
Ajay Hinduja
Top achievements
Rank 1
Ajay Hinduja asked on 01 Jul 2025, 12:04 PM
Hi everyone!

I'm trying to place a NumericTextBox inside a FormItem because I need to apply some validations that are defined in another file, and also call a method that returns a calculated result. However, whenever I try to do this, my project fails to run.

Any advice or insights would be appreciated!
 

Regards
Ajay Hinduja Geneva based on Switzerland (Swiss)

1 Answer, 1 is accepted

Sort by
0
Oliver
Top achievements
Rank 1
answered on 23 Feb 2026, 01:22 PM

To use a NumericTextBox inside a FormItem safely:

  1. Make sure FormItem has a proper name for validation.

  2. Bind NumericTextBox to your form state using value and onChange.

  3. Import and apply external validation rules via the rules or validate prop.

  4. Call your calculation method inside onChange or useEffect.

Tags
AJAX and Web 2.0 Forum suggestions Telerik Trainer
Asked by
Ajay Hinduja
Top achievements
Rank 1
Answers by
Oliver
Top achievements
Rank 1
Share this question
or