You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got two columns with Select lists: "Folder" and "SubFolder".
"Folder" I'm using Manual values. For "Subfolder" I'm using a function to generate the select options:
`function areaFolderAsOptions(db) {
const areaOptions = [];
I'm not great at javascript, but I've managed to pull this together and get it working properly.
What I would like to do do now is have the value set for "Folder" pass to the SubFolder function (replacing "FolderName" in the pages query above) in order to make it dynamic based on the main folder selected.
Thoughts on how to accomplish this? Any help would be appreciated. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got two columns with Select lists: "Folder" and "SubFolder".
"Folder" I'm using Manual values. For "Subfolder" I'm using a function to generate the select options:
`function areaFolderAsOptions(db) {
const areaOptions = [];
}
module.exports = areaFolderAsOptions;
`
I'm not great at javascript, but I've managed to pull this together and get it working properly.
What I would like to do do now is have the value set for "Folder" pass to the SubFolder function (replacing "FolderName" in the pages query above) in order to make it dynamic based on the main folder selected.
Thoughts on how to accomplish this? Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions