P
|
PK author 7/16/2024 |
Since I posted this close to 3 weeks ago, I have searched and searched without success for a solution. If there is no solution to this currently, can it probably to looked into in future updates. Thank you |
![]() |
mbintex 7/16/2024 |
Why don“t you just hide the complete field it certain users are logged in? |
P
|
PK author 7/16/2024 |
Thanks mbintex, |
C
|
cristi 7/16/2024 |
If those are the only radio buttons on your page you could search them all and hide in javascript onload event of your page: var btns = document.querySelectorAll('input[type=radio]')
|
P
|
PK author 7/16/2024 |
Thanks cristi, brilliant idea! Thanks |
C
|
cristi 7/17/2024 |
Upload controls are grouped in divs.
Now change the code posted before like this (two choices for finding radio buttons in divs - you decide...): var btns = document.querySelectorAll('[data-fieldname="file"] input[type=radio]'); //this finds all divs with data-fieldname attribute "file" AND radio buttons Repeat the code for first btns div with another field name or use the second btns code to exclude one div - your choice |
P
|
PK author 7/17/2024 |
cristi, Your solution worked perfectly! PK |