Avoid numbers input beginning by comma, or négative numbers

hi

in my app i use a input text and use the comparator <
when i enter a number beginning by comma i get a message error

The operation < cannot accept the argument , [.] [1]

can you help ?

regards

Is that in a maths block or a text block you do the comparison.

Out of interest, what number begins with a comma ?

Post a Downloaded Blocks Image of the procedure or event block containing the error, along with sample data.

Hi

I don’t want the user input numbers beginning by comma
It’s just treatment to avoid errors while usine app

Regard

Try with this extension:
https://puravidaapps.com/textbox.php

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

hi

here is the block i use

i will look for this side of block text :

text_contains

regards

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.