Tue Jul 05, 2022 3:33 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



WsELC Checkbox

Comments and questions related to the Enterprise Control Language

Thu Nov 15, 2018 8:28 pm Change Time Zone

Hello I’m working on putting the finishing touches on a group project and I have a question about using WsECL. How would I add checkboxes to the WsECL form? I know that using the following code produces a dropdown menu:

STRING3 FruitSelection := 'Fruit' :STORED('Fruit', FORMAT(SELECT('*ALL=ALL,Apple=Apple,Orange=Orange,Banana=Banana')));

But what would I do if I want to create checkboxes instead?
vzeufack
 
Posts: 41
Joined: Tue Sep 25, 2018 3:52 pm

Fri Nov 16, 2018 5:44 pm Change Time Zone

I'm afraid the closest thing you have is a three state checkbox. Make the definition a BOOLEAN and you can preset it to TRUE or FALSE.

HTH,

Bob
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1006
Joined: Wed Jun 29, 2011 7:13 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest