mrackley / StratusForms

Lightweight InfoPath alternative for SharePoint 2007,2010,2013,2016,2019 and Office 365
82 stars 36 forks source link

data-StratusFormsLookup #18

Open btroop202 opened 6 years ago

btroop202 commented 6 years ago

Does it only work when the fieldName:'Title'

data-StratusFormsLookup="{listName:'LU_SQUADRON',firstOption:'Select Passcode',fieldName:'Passcode'}"

I have a list that has different fields, and i want to pull back a different column

Thanks, Darrin

warwickbuilds commented 6 years ago

Is this a just statement or something you have tested and doesn't work?

There are a bunch of additional settings in the statusforms js you can set like sorting

btroop202 commented 6 years ago

IT is not working for me, if there are more setting that would be great as well. Thanks

mrackley commented 6 years ago

It uses the internal field names, so just make sure you are using that and not the display name. now, if some jerk would just get off his butt and write some real documentation for all the settings... :/

btroop202 commented 6 years ago

It just shows a empty dropdown data-StratusFormsLookup="{listName:'LU_SQUADRON',firstOption:'Select Passcode',fieldName:'Passcode'}"

But above the same code work fine data-StratusFormsLookup="{listName:'LU_SQUADRON',firstOption:'Select SQUADRON',fieldName:'Title'}"

btroop202 commented 6 years ago

Ok issue was there were blank values so now it is working, but having a issue on filtering it. In this case I have 3 fields Title, codeA, and codeB So I have a select list that has Title, and when that is selected I want another field to display codeA