Updating my main form (version 6) to version 8 as the loop events stopped working after the upgrade to joomla 4. Got the majority done, but I'm running into a issue. When the form loads, the dropdowns aren't populated until I push f5 and refresh the page.
Forums
Dropdowns not populated on page load
how do you add options to the dropdowns ?
Hi Max!
Read datas / All matching records / two fields
Drop down calls the read data variables in "Data source" and then in "option value code " I have {row:EMPId} and in "option value text" I have
{row:FullName} example.
Read datas / All matching records / two fields
Drop down calls the read data variables in "Data source" and then in "option value code " I have {row:EMPId} and in "option value text" I have
{row:FullName} example.
I just tried this with the default joomla content table, using id,title fields and it loaded the options first time
hmmm, don't know what to say. It's definitely still happening for me.
What version of joomla and php are you testing with?
My site opens https, yours?
Thanks Max
What version of joomla and php are you testing with?
My site opens https, yours?
Thanks Max
this should not affect the dropdown I think.
Please try the following, when you open the page at the first time (when the dropdown is not filled), does your form debug show the results returned from "Read data" ? your form debug should be enabled of course
Please try the following, when you open the page at the first time (when the dropdown is not filled), does your form debug show the results returned from "Read data" ? your form debug should be enabled of course
Yes. The data is loaded into the arrays on the debug.
Still the same issue, when I click on the drop down and nothing is populated.
Still the same issue, when I click on the drop down and nothing is populated.
the action is before or after the dropdown ?
That was it. I liked having them below when I set them up. Didn't realize the ramifications while doing so. Makes sense, it runs top down.
Thank you!
Thank you!
no worries, the action has to run first to load the data, next the dropdown can be displayed.
You need to login to be able to post a reply.