This content has been marked as final. Show 3 replies
Thank's for reply, but i think you don't understand me. I want set mask on text field(f.ex. phone number) and i now that i can set input constraint - PHONENUMBER (3) on text edit, but i want change number of characters in phone (by default 10), change phone code length. F.ex I want set mask (9999) 99-99-999. I want see on my phone text input with mask (____) __-__-____ and if i try input char's in this text i can input only digits, in code area i can input 4 digits etc. If standart text edit control can resolve my problem, can you please send example for me?
I understood well what exactly You need and I'm afraid that TextField standard compoment might not be enough to satisfy the requirements. Two possibilities: one is to try to write Your own component (maybe based on the canvas - but this is just supposition. And the second one is to use other framework - maybe Android would be useful here.
Ok, two more solutions: use many TextFields instead of one and every single TextField will match the piece of the number, a the second one, check this out. Somebody has written that it compiles on CLDC device.