How to remove the field value of a list element. [message #629155] |
Thu, 04 December 2014 00:08 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/4cbaf579f1cfc1e10958211fb2912ec1?s=64&d=mm&r=g) |
tara_260985
Messages: 46 Registered: November 2014
|
Member |
|
|
I have a list of element field and in that drop down I have 3 values,once user selects the value and press apply button i want to clear the field, I have tried clear_item property,it clears the value from the field but when I press on OK button to commit the changes it says "frm 40202 Field value must be entered".
Kindly assist
|
|
|
Re: How to remove the field value of a list element. [message #629158 is a reply to message #629155] |
Thu, 04 December 2014 00:18 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I'm sorry, but I don't see any sense in what you are doing. First you put a value into a required item. Then you press the APPLY button (whatever that button is and does), which - in turn - clears that item. Finally, while saving changes (what changes? You did nothing, really ... inserting & removing a value brings you back to the beginning), you get an error saying that the required item is empty, while it requires the value.
So, what problem are you trying to solve? I, somehow, doubt that the way you are solving it now isn't right.
|
|
|
|
|
|
Re: How to remove the field value of a list element. [message #629272 is a reply to message #629271] |
Fri, 05 December 2014 04:35 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Are you trying to change the value a list item is set to?
Or are you trying to remove a particular value from those displayed when you open up the list item?
For the first just assign a value to the list item same as if it waa a normal item. Set it to null if you want.
For the second - don't, it never works properly.
|
|
|
|
|
Re: How to remove the field value of a list element. [message #629277 is a reply to message #629276] |
Fri, 05 December 2014 06:21 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
You must realize that we know nothing about your form, or your DB, other than what you tell us.
We don't know what blocks or items you have in the form, we don't know what the process is for entering data.
A screenshot would probably help, along with a more detailed description of what you are trying to do.
|
|
|