This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Html Phone Number  RSS feed

 
krish chaitu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a requirement where i have 3 text fields to enter a phone no in (xxx-xxx-xxxx) format.so i need to get this value entered in 3 textfields as one value ,as i know each text field has its own name so how can i make it in to one.in my form when i say form.getxxx() i need to get the entire no entered

Please help me

Thanks
krish
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krish,
While you could use Javascript to make it one value, why not do this on the server side? Your form could have the three fields. And you could add another getter method that concatenates them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!