Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Textfield write only numbers
Started by diego_martinez93 Feb 06 2019 01:56 PM

- - - - -
3 replies to this topic
textfield only numbers corona sdk escape

Best Answer anaqim , 06 February 2019 - 02:16 PM

if you cant be bothered with properly formatting your question and providing sample code, why bother at all?

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

diego_martinez93

[GLOBAL: userInfoPane.html]
diego_martinez93
  • Observer

  • 14 posts
  • Corona SDK

textfield, allow me to write only numbers, I need to make a sum but when I put special characters, it shows me arithmetic error.
Can I make escape from special characters ?. Can you give me an example?



[TOPIC: post.html]
#2

anaqim

[GLOBAL: userInfoPane.html]
anaqim
  • Contributor

  • 768 posts
  • Corona SDK

  Best Answer

if you cant be bothered with properly formatting your question and providing sample code, why bother at all?


  • diego_martinez93 likes this

[TOPIC: post.html]
#3

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 677 posts
  • Corona SDK

Check Corona sample apps.



[TOPIC: post.html]
#4

carloscosta

[GLOBAL: userInfoPane.html]
carloscosta
  • Contributor

  • 628 posts
  • Corona SDK

i read the question 10x still don't have  a clue what diego wants.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: textfield, only numbers, corona sdk, escape