Hello everyone,
I have a fairly complex form which I am developing. It will host a dashboard with charts one tab 1, tab 2 contains details, and tab 3 will have various reports the user will be able to execute and download results.
Since all of these features require filtering, I decided to use the Collapse control to hide the numerous fields needed for user criteria. I had no issue adding the controls and the various labels and inputs. When I try to execute the "Show" button does just that and shows the details, correctly moving the content, which is below it lower on the page. When I go to collapse, it does nothing. I created a dummy project and could not get it to fail. Next, I started a test project, copied the page from the "real" project, and used the process of elimination to find out what was causing it to fail.
The failure occurs because of Custom Code, which is required to load external scripts (see my other posts about including custom JScript code includes for a specific paging - I sincerely HOPE this feature is coming in the next release.) If I remove the Custom Code, which loads jquery, bootstrap, aos, and my custom javascript, the Collapse control works. If I add it back, it fails to collapse the content.
I added a test project to jsfiddle for those of you who would like to take a peek. Perhaps there is something wrong I am not seeing? Of course, I could not upload all of the code or give access to data for this project.
https://jsfiddle.net/BKimFromColumbus/7jtu6mod/2/
Click the Show Content button to expand, and again. You will see it does not collapse.
In addition, it would be nice if BStudio would add code to switch the text (as an option) when the content is collapsed vs. shown.
Any assistance would be much appreciated!
Ben