my dog learned polymorphism*
The moose likes Java Micro Edition and the fly likes j2me - RMS & appending textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "j2me - RMS & appending textfield" Watch "j2me - RMS & appending textfield" New topic
Author

j2me - RMS & appending textfield

mabel foo
Greenhorn

Joined: Oct 07, 2009
Posts: 8
hey guys, i have a problem and i hope there's a way to doing it. i have a function that appends textfield to a form.

In this function:
1. If the rms database is empty, it will show empty textfield.
2. Else, it will display a string in the textfield.
3. And after if-else, it will append the textfield to the form.

The user will click a button to do the function, and each time the button is clicked, the textfield is appended to the form. this causes repetitive textfields, but it suppose to have only 1 with the updated rms data.

how do you solve the problem of the repeating patterns of textfield? please help me!!!
it's very important!
THANKS!!! (:
mabel foo
Greenhorn

Joined: Oct 07, 2009
Posts: 8
i've settled it. sorry! it'll help if someone knows how to delete post. thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: j2me - RMS & appending textfield
 
Similar Threads
How to stop the onclick function running when onsubmit validation fail
List and Textfield on same form?
JTextField/Reading Content
how to call different java script codes on different button click
Display the message in same page using submit button