Hello all,

I just want to know if we can pass textfield as alert in J2ME.

for e.g.
I have a field UserName and Password and when i click 'OK' there should be an alert which would show a texfield for PhoneNo. and we can enter the phone number in the alert box itself and when the alertbox is clicked OK the next page should display
UserName-
Password-
PhoneNo.-


Thanks,
Abhijeet

No you can't. Alert is just string for title, or String for title and alert text, Image alertImage, AlertType alertType.
Just create separate form and and ask for phone number there.

No you can't. Alert is just string for title, or String for title and alert text, Image alertImage, AlertType alertType.
Just create separate form and and ask for phone number there.

Thanks a lot Peter :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.