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

Recommended Answers

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.

Jump to Post

All 2 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.