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

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
Alisson
Posts: 9
Joined: 2017-02-25 20:32

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

Post by Alisson » 2017-07-16 01:02

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.

User avatar
a.gneady
Site Admin
Posts: 776
Joined: 2012-09-27 14:46
Contact:

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

Post by a.gneady » 2017-07-25 15:11

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.
:idea: Learn all the tips and tricks of customizing AppGini applications through our new online course.

AppGini: Responsive, collaborative web database applications in minutes.

Alisson
Posts: 9
Joined: 2017-02-25 20:32

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

Post by Alisson » 2017-08-12 01:29

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.

Post Reply