Traffic lights on Display form


Posted by Phoenix - May 26 ’15 at 02:40

Hi there


I'm having a form to edit a project and its current status. To show the status of 5 different key values we user traffic lights. This works fine with the new and edit form. But not with the display form. I've read that on the display form I cannot use the value of a field and then display a certain image depending on the field value? I should use groups? Well i have 4 different traffic lights of 5 different key values...this would result in 120 different groups, not including the permissions..... is there really no other possibility?

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 9 years 4 months 17 days
    #1 by Dmitry Kozlov May 26 ’15 at 03:30


    You can get text representation of a field value on a display form by using the code below:

    var value = fd.field('FieldName').control()._el().text();
  • Phoenix
    Member for: 8 years 1 month 27 days
    #2 by Phoenix May 26 ’15 at 04:32

    Thanks God ;-) this worked... i was afraid i had to use groups...

  • kane433
    Member for: 7 months 3 days
    #3 by kane433 Jan 9 ’23 at 05:34

    You are facing the issue of different key value, right. But do you know the legal or illegal rules of car underglow lights? So here I will share with you a website where you can read the rules and regulations of traffic lights; for more information, click on the link below.

  • Dweda
    Member for: 20 days
    #4 by Dweda Jan 16 ’23 at 02:41

    É verdade, e não é assim tão difícil encontrar um bom recurso sobre apostas onde se possa encontrar boas previsões e prognósticos, casas de apostas fiáveis e muito mais. Por exemplo, pode visitar a mostbet e estou certo de que descobrirá que a utilização de páginas como esta é realmente necessária para todos os jogadores, se quiser ganhar.

Displaying 1 to 4 of 4 messages