How to remove Text field from Form in J2ME - java-me

Hey Hi Friends,
I have created one application where in one text field i am getting input from user as id and according to id i am displaying the information. At run time i am adding another text fields but suppose user inserting wrong id then i want remove all text fields from Form. it is possible to remove text fields which added previously.

I am not sure what you are trying to achieve here but Form.delete(int itemNum) and Form.deleteAll() will allow you to delete Items that have been added to a Form.
See Form documentation.

Related

sharepoint custom list: multi-line field content is blank when person/group field has multiple values

I have a custom list with the following fields:
Title: Single line of text
Description: Multiple lines of text
Remarks: Multiple lines of text
Recipient: Person or Group
Whenever I input two or more people in the Recipient field, in View Item page (Display form), contents of Description and Remarks becomes blank/empty.
Contents are displayed okay on the main view of custom list, and in EDIT mode.
If I input a single person only in the Recipient field, the contents for Description and Remarks are displayed in Display form.
Note: Recipient field is set to accept multiple values. I'm using Sharepoint 2013.
I am new to Sharepoint and I'd like to know a way on how to troubleshoot/debug this matter. Or are the multi-line fields somehow connected to the person field? Or any setting that I need to setup? How can I check?
I tried to search but I found no same situation as far.
If there is no customization in Display form, it should work fine. If it works for Single User in Recipient, It should work for multiple users too.
For further troubleshooting, You can create a test list and create same type of columns in it. Then see if the Display form works fine in that test list. It will let you know if the issue is related to the specific list or it's generic. You can then narrow down your troubleshooting options based on this result.

How to use an InputBox with a table - Domino Designer

I would like to create a button which then opens an inputbox, the user then inputs a message, and then I would like to create a table with there name & the message in, on the same form.
Is this possible in Domino Designer?
Formula?
LotusScripts?
Not knowing the proper use case, and expecting that more than just one user will be able to click that button for a single document, let me recommend a slightly different solution:
I tend to solve these by using a simple multi value text field, make it computed when composed. Then if a user enters a message I append (or prepend) a new line to the list field like in
[Lothar Mueller, 2015-05-01 15:00:01]: this is my message

Duplicate history of multiline text box in infopath

in a sharepoint form i have a multiline textbox that allow to "append changes to existing text".
The problem is that everytime i edit the text in the control and i submit the form, infopath duplicate the history. So it's like i ve inserted twice that text. This happen first time too.
I could notice that the problem do not persist if I use the default insert form instead of the infopath form.
So i suppose the problem is on submit and not in visualization.
Following an attached image:
image
DO not exist history at column level. It exists just at list level even if it appears like the history can be also at column level.
So, it was duplicate because i did twice the submit of the list.

Customize Survey fields in Sharepoint 2007

I have a Survey list which has several questions, one of those is people picker field and the another one is single line of text field.
I need to hide a perticular question ( field ) based on login user. Requirement is as below
When the user logs in as admin
a. Display ‘people picker’ and should not allow user to pick his name from people picker.
b. Hide Single line of Text field.
When the user logs in as ‘Non-Admin’
a. Display ‘Single line of Text' field and default it to have the logged in user name (without domain name).
b. Hide ‘People picker’ control.
I am thinking that we can do it by placing javascript in content editor webpart and add it in newform.apx of survey list. Can anybody give me the proper approach to get it done?
Thanks in advance
You might like to try creating a custom field control, a differnet one for each field.
Javascript is fast and involves minimal deployment, but is fiddly and can be turned off.

Preset the jqGrid filter text box through code

We are using jqGrid for ASP.Net version 3.6.6.0. We are facing a problem in search/filter as described below:
We have created a jqGrid using ASP.Net (C#) having column likes Name ,Status etc. There is a hyperlink on Name column.
We are able to successfully populate the grid
User applies search on a column say “Name=’XYZ’” and grid is updated according to search results.
User clicks on Name link and is taken to details page of that Name.
Now when user clicks back from that details page ,search is lost.
We were able to persist the searched grid details using session however we are not able to set the searched text back in search text box.
i.e we are not able to set the value “XYZ” in search text box of Name Column.
Need your help in knowing which property or method is to be used to set the Filter text box through code.
If you use Advanced Searching the searching parameters are saved in the postData.filters property in the JSON encoded format. If you use the Single field searching another properties of the postData parameter of the jqGrid save the filter information: searchField, searchString, searchOper. So what you can to do is to same the filters in the cookie. To restore the searching filters you can examine the cookie and if needed extend the postData parameter with the corresponding properties (see here for details).
If you want that the searching filters will be not only displayed if one opens the Searching Dialog you can set additionally the search:true parameter of the jqGrid.
I recommend you additionally read the answer on the close question.

Resources