[Pas2js] how many input fields can be created by using TTextInputWidget;

Michael Van Canneyt michael at freepascal.org
Fri Aug 28 16:36:10 CEST 2020

On Fri, 28 Aug 2020, Mgr. Janusz Chmiel wrote:

> Here is my repaired code, it has created all 36 input fields with no issues.
> It even do not freeze when Javascript interpreter must create so many fields
> and screen reader interprocess based communication is being intensively
> using WEB browser too.
> Thank you that you have constructed so profesionally optimized Javascript
> code. Since I have bad experiences that some Javascript build in
> interpreters in some browsers can freeze on some Javascript code.
> My dream is to have routine, which would monitor all 36 input fields in The
> background. If An field get right answer, routine could create new text to a
> 36 lines and 2 column table. So table would receive good answers. If user
> will type nonsenses or bad answer, table will not get new words. The
> question is, if is it technically possible to monitor The inputfield content
> in The background by using for do or loop which would monitor all 36
> inputfields variable. I Am aware, that such Javascript interpreter intensive
> work can make key reaction on A focused input field slower when using it
> with screen readers. But it is The onlyone possibility how to make this
> project easily usable.
> I do not want to force clients to fill out whole form and pressing evaluate
> button. But I do not know, if real time checking is possible and if it will
> not cause etreme big memory leak so browser processes could allocate 120 or
> 250 MB more of RAm while monitoring 36 input fields at The same time.

Monitoring 36 input fields will not be a problem.


More information about the Pas2js mailing list