B
BostonCC
I have one question to add to this - this was posted in another thread - the
code below allows you to populate a text box from selections made in a Drop
Down List (my question appears after the code):
If you noted the Programming Language as JScript, then add the following
code immediately before the last "closing brace" ("}"):
if(eventObj.Operation == "Insert")
{
var objField2 = XDocument.DOM.selectSingleNode("//my:myFields/my:field2");
if(objField2.text == "")
{
objField2.text = eventObj.Site.text;
}
else
{
objField2.text = objField2.text + ", " + eventObj.Site.text;
}
objField2 = null;
}
where in that code can I insert (and what code for that matter) something to
be able to separate the value/list that the person chooses?
For example, in the code above, as the person chooses different values, in
the
text box, it inputs them continuosly, i.e., Value1, Value2, Value3, (like a
sentence) etc...
I need mine to be listed vertically.....i.e.,
value1
value2
value3, etc.
Ideally, if each value chosen would start with a bullet or a dash, that
would be even better
: )
Just from hanging around this forum I've learn so much - it's great that its
available.
To all of you who provide us "non Tech" folks the answers - THANK YOU!!!! -
It's greatly appreciated......
code below allows you to populate a text box from selections made in a Drop
Down List (my question appears after the code):
If you noted the Programming Language as JScript, then add the following
code immediately before the last "closing brace" ("}"):
if(eventObj.Operation == "Insert")
{
var objField2 = XDocument.DOM.selectSingleNode("//my:myFields/my:field2");
if(objField2.text == "")
{
objField2.text = eventObj.Site.text;
}
else
{
objField2.text = objField2.text + ", " + eventObj.Site.text;
}
objField2 = null;
}
where in that code can I insert (and what code for that matter) something to
be able to separate the value/list that the person chooses?
For example, in the code above, as the person chooses different values, in
the
text box, it inputs them continuosly, i.e., Value1, Value2, Value3, (like a
sentence) etc...
I need mine to be listed vertically.....i.e.,
value1
value2
value3, etc.
Ideally, if each value chosen would start with a bullet or a dash, that
would be even better
: )
Just from hanging around this forum I've learn so much - it's great that its
available.
To all of you who provide us "non Tech" folks the answers - THANK YOU!!!! -
It's greatly appreciated......