Page 1 of 1

How to hide a certain value in a dropdown list field?

Posted: 2017-07-16 01:02
by Alisson
Is it possible to hide values in a dropdown field for different groups?

My dropdown list has the values "In Progress;;Completed;;Canceled", I need to hide "Canceled" if them member signed belong to group DETAILERS and hide all but "Canceled" if signed as a member of SALES group.

Thanks.

Re: How to hide a certain value in a dropdown list field?

Posted: 2017-07-25 15:11
by a.gneady
This can be done using the tablename_dv hook ... the general idea is to check the user group of the current user and then use JavaScript code for controlling the content of the drop-down accordingly.
For more info about tablename_dv hook: http://bigprof.com/appgini/help/advance ... blename_dv

AppGini customization course on Udemy (not free but has some lessons that are free to preview) includes many practical examples of how to customize your AppGini application: https://www.udemy.com/customizing-appgi ... ode=TENOFF

We also provide code customization service for a reasonable price. Please contact us via the support form on our website for a quote and time estimate.

Re: How to hide a certain value in a dropdown list field?

Posted: 2017-08-12 01:29
by Alisson
Thanks a.gneady, I bought the course at Udemy, but unfortunately didn't have time to watch yet, anyway I've submitted an email with the changes I need for a quote.

Thanks again.