Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to retrieve checked fields
Message
From
08/08/2001 08:54:57
 
 
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00538718
Message ID:
00541199
Views:
18
>This could work ok if you have no other items on form with name like 'XXXXXXX{number}'. More quick way will be only, as I mentioned, if you put all checkboxes itno separate form where no other controls exist, or name all checkboxes with the same name when ID is like 'MessageXXX' or vise versa. This way you will be able to access to each checkbox as to the array, so no scan of ALL controls, just checkboxes. I don't know if following will work (do not remember if reference theForm.CHECKMARKS is correct), but you can try it (I assumed you used ID 'CHECKMARKS' for all checkboxes and name like 'MessageXXX':

Yes, that naming is unique to identify our checkboxes. We will also add a unique ID in front of the field name in order to make them more unique. So, we'll continue to use that approach. Otherwise, we'll have to hold a javascript array value somewhere.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform