Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Re: Tried to use CHECKBOX instead of dropdown and it doesnt list the values

$
0
0

Hi David,

 

Thanks for your reply it helps me to get some ideas!!!

 

I was looking for more simple script for this and i created a local variable and did this. below are my code which works fine

 

if(CHECKBOX_1.isChecked())

{var test = CHECKBOX_1.getText();}

else

{test = "";}

 

 

if(CHECKBOX_2.isChecked())

{ var test1 = CHECKBOX_2.getText();}

else

{test1 = "";}

 

 

if(CHECKBOX_3.isChecked())

{var test2 = CHECKBOX_3.getText();}

else

{test2 ="";}

 

 

DS_1.setFilter("LINE",[test, test1, test2]);

DS_2.setFilter("LINE", [test, test1, test2]);

DS_3.setFilter("LINE", [test, test1, test2]);

 

Once again thanks for your valuable reply and for the link!!

 

Regards,

Mathivanan M


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>