Thanks for responding.
The one big thing I don't understand is that the values for the selections that the user made are in the collection table (colSearchNames), as can be seen in the below screenshot. If I'm referencing that data in the default value of the dropdown field, why doesn't it show? - It's in there. Shouldn't it just look to that field in the table and display it?
"You also mentioned this is a Dynamic form, but how are you adding multi-items to a form? What control are you using inside the form? A gallery?"
Yes, the fields are all in a gallery.
"what is CftPartyType?"
The dropdown choices are all being populated by different SQL tables. For example, CftPartyType is the table name and Description is the text field in the table that I'm using for the values.
cftpartytype.description
cftrole.description
cftrelationshipcode.description
"If the default isn't set, then it will not show, or there is no data. Those are the only 2 logical reasons for it to be .. well I am going to say displaying the wrong thing (whether that is nothing or it is the first item)."
I get what you're saying about the default value. In the text fields that are working correctly I have the value being whatever the user selected and that was populated in the collection, so
ThisItem.firstname
ThisItem.middlename
ThisItem.lastname,
ThisItem.organization
firstname
middlename
lastname
organization
are all fields in the collection table.
I tried having default values for the dropdowns as well, but it wasn't working. I tried ThisItem.cftpartytype but it doesn't like that. I'm sure it wants me to define the selection from the list of available values in the dropdown, so this is the part I'm struggling with. I would think it would be something like ThisItem.cftpartytype.selection but that's obviously not the correct format.
I want it to display whatever the user has chosen in the record, just like the text fields are doing. In the collection I used partytype: drpPartyType.Selected.Description
Can you share the Default Property of the DropDown box.
As I mentioned above I tied ThisItem.cftpartytype which is the field in the collection table, but it doesn't like that. Right now there is nothing in the default. It is blank.
By default, the DropDown should show whatever the first item is form Items (even if the Default property is not set),
Nothing shows, not even the first item.
I am however confused if it's not showing anything, unless you turned on the option for the dropdown not to show anything.
The DisplayMode property for the dropdowns is set to "Edit" Could it be functioning unlike you expect because it's pulling from a connected SQL database?
I believe the issue is as you suggest, that it needs something for the default because I'm using ThisItem for that in the text fields which are working correctly. I want it to show whatever the user selected. The ThisItem function works for the text fields, but I'm guessing the format/naming of the dropdown selections for the ThisItem is what I'm stumbling over.
Below is what I originally tried for the dropdown defaults but it did not work like it did with the text fields.
Again, thanks for your help.
-Mark