Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By alisoroush7
hello guys
i have a textbox that is named Price. i want a javacode to not allow pepople entering anything except numbers in that field. for example if they enter a text, a pop up message appear and until they correct it , they can not submit the form.
User avatar
By kirkwg
Why not dynaform > textbox > property > to set validate; no JS coding is needed.
Choose one option below to set the Validate:
    Only integers: ^\d+$
    Only positive or negative integers: ^[\-+]?\d+$
    Integers or decimal numbers: ^[\-+]?\d*\.?\d*$
    Number with up to two decimal digits: ^[\-+]?\d*(\.\d{0,2})?$
    Number with exactly two decimal digits: ^[\-+]?\d*\.\d{2}$
doc FYI:

Dear All, As per my post above I have spend some t[…]


Your article is very good I like it. and also ever[…]

Data Loss

Hi, In some cases I have a problem, the data is a[…]

Enabling SQL Server in Windows

All the stuffs here are new things and interesting[…]