Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Form API-SQL
System
Hi,
I am calling the below function in onItemChange event.In the setvalue i am using Model1\nModel2.
I would like to get those values from the database. Could anybody guide me how to do that.
function onTypeSelected(item)
var item = IWDatacapture.getItem ("/ProductModels/SelectedModels");
item.setValue("Model1\nModel2");
item.setVisible(true);
item.setReadOnly(true);
}
Thanx in advance
Find more posts tagged with
Comments
Adam Stoller
It might help if we knew what *kind* of item /ProductModels/SelectedModels was... a textfield, a textarea, a multi-select list...?
I'm not sure what embedding a newline does in any of these cicurmstances - but it probably makes a difference in terms of understanding what you're trying to do...
--fish
(Interwoven Senior Technical Consultant)
logon.jpg
Migrateduser
Thanx for your reply.
Here i am trying fill text area with models when i click on check box.When i click on Allproductmodels checkbox it shd run query and get the result.
Thanx
Adam Stoller
What happens currently with your existing implementation?
You might need to put physical newlines into the string:
"One line
Another line"
--fish
(Interwoven Senior Technical Consultant)