Hi Andreas,
I appreciate you taking the time to try to help me with this. I’m still very new to this coding.
I’ve been trying to implement your suggestion, but I must be missing something. Right now I’m not sure which elements of your code are supposed to stay that way, and which I’m supposed to change to reflect the names I’ve given my elements. I’ve tried putting your code in as is, and also tried changing things to reflect the identifiers on my page… but, not sure what I’m missing.
If it helps, I’ve also created another field in the database that is called “PDF or Link” - here I’ve just typed either “pdf” or “link” so that if I can use it somewhere in the code to just say that if it’s says “link” then show the “#viewURL” button, or if it says “pdf” then it can show the “#viewPDF” button.
I’m sure there’s lots of ways to do this, but I can’t seem to find one that works :s
Wanda