Hello,
I kind of hope someone can help me along with this.
I used the instructions from William Lu's: Creating Dependent Menu with Database module
I have the menu's all set and in the View Single and Add entry it goes like predicted.
Though I want my View List to do something similar.
See enclosed Screenshot.
In the first row (Praktijkopleiding Assurance) you can see that there is no button below "uitnodiging".
And that is exactly what I want.
Though I cannnot seem the script to work for the following rows
The button should only show when the text is "Open" in the same column.
In the list template I have the following code.
Which seems to work with the first row, but not with the next rows.
What I also want to try is that when the text is "open" that it not show the text field but only shows the button.
But I think that everything I tried failed due to the same reason that the script does not seem to repeat on entry.
if ('inschrijving' =="Open") {
document.getElementById('Inschrijving').style.display='none';
}
Hope that someone can help me along.
Gemma