- December 10, 2009 at 12:06 am #373December 10, 2009 at 9:38 am #4956
Not really sure what you are seeing here? I’ve set up a list box and a text object and under a ‘button’ have added in a ‘SetField’ script and I am able to set to the text field the ‘value of another field’ and in there I can get to the list object | Value
Can you send over an example form where you are seeing this problem to us at firstname.lastname@example.org. Also please confirm that you are running version 1.15 of FormArtist (the value component of some objects wasn’t exposed in earlier versions and perhaps it may be related to the version of perfectforms you are running and you should look to get updatedDecember 10, 2009 at 5:26 pm #4970
With a List object you have the option to allow multiple selections.
If this option is not selected then you should be able to get to the Value and Caption just like you can for a Drop-down list.
If the multiple selection option is selected then you cannot get to the Value and Caption because there will not be a single answer. Instead you are able to interrogate the ‘state’ of a particular choice in the list with the possible response being ‘true’, if selected, or ‘false’, if not selected.December 10, 2009 at 10:16 pm #4971
Hi guys, thanks for your responses.
I did a little bit more testing and you are both right (of course). The only thing is that it is only right for lists that are hard-coded. It is not possible to access the values or test for True or False for dynamic built lists (via a connection). I will have to come up with another way to provide multi-choice functionality. Checkboxes is not an option due to limited real-estate on the form. Listboxes were the best way because it allowed me to provided a long list within a small space.
You must be logged in to reply to this topic.