- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
you can use an array to collect and combine the values of filled fields.
var aValues = [];
if (!DropdownList1.isNull) {
aValues.push("Make-" + DropdownList1.rawValue);
}
if (!DropdownList2.isNull) {
aValues.push("Model-" + DropdownList2.rawValue);
}
if (!DropdownList3.isNull) {
aValues.push("Year-" + DropdownList3.rawValue);
}
this.rawValue = aValues.length > 0 ? aValues.join(" ") : "";
Views
Replies
0 Likes
Total Likes