on 07-10-2007 9:06 AM
Hi,
how can i save an empty inputfield?
I cant save a String like "" only " "...
Regards
Christian
Hai,
try this coding.
if you have the attribute name as value.
String value="";
if(wdcontext.currentcontextelement().getvalue()!=null)
{
value=wdcontext.currentcontextelement().getvalue();
}
then if there is no value in the input field value="" .
Kind Regards,
Hariprasath.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
String val=wdContext.currentContextElement().getXX();
if(val==null)
val="";
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One way is to save the value as <b>null</b>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.