I am trying to find out how to stop a dropdown in a LISE module from auto populating.
I am calling one LISE module into another as an 'instance Item'
The dropdown populates correctly and the data is also displayed correctly on the site.
My issue comes when the admin user adds a new item and the saves it, the dropdown already has a value and save the first by default, even if the admin user does not wish to select anything.
I would like to have something like 'Please select' by default in the dropdown if possible
How do I change the default in a LISE dropdown in admin
Re: How do I change the default in a LISE dropdown in admin
Currently that is not possible, but I may add it in a future release.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: How do I change the default in a LISE dropdown in admin
I have figured out a work around that will do for now. by adding a list item to the instance I am pulling into the dropdown and naming it 'select one' and making it the first item in the list, it will be the selected item on the dropdown in the LISE Instance Item fielddef.
to stop the item showing on a summary page I have added the 'start=1' attribute to ignore the first item. It works but may change the dropdown to a radio button to see if that does the required function better.
Thanks
Mark
to stop the item showing on a summary page I have added the 'start=1' attribute to ignore the first item. It works but may change the dropdown to a radio button to see if that does the required function better.
Thanks
Mark