Menu

Force a field to be mandatory on condition : is not possible with Designer ?

2022-01-26
2022-01-27
  • Patrick Aoun

    Patrick Aoun - 2022-01-26

    Hello,
    I want to force a custom field (in class Incident) to be mandatory if an other custom field is filled with the value "Yes".
    There is this tutorial : https://www.itophub.io/wiki/page?id=2_7_0%3Acustomization%3Amandatory-field-on-condition

    But is not possible with the Designer ?

    Because I find in my server /var/www/html/itop but the account is www-data and it is "curently not available" and I don't want change the file with the account root.

    Thanks for your help.

     

    Last edit: Patrick Aoun 2022-01-26
  • Pierre Goiffon

    Pierre Goiffon - 2022-01-26

    Hello,
    You're mentionning the ITSM Designer, are you a Combodo customer ? If so you should contact support service ?

     
  • Guillaume Lajarige

    Hello Patrick,

    This can be done yes as in the tutorial you mentioned, but you should never modify directly iTop's files! Otherwise you will loose that change during the next upgrade and Combodo support team will no longer be able to support you.

    You should either do it through a custom extension or through the ITSM Designer. As you are a Combodo's customer you should get in touch with the support team as Pierre mentioned, so they can guide you or do it for you.

    Cheers,
    Guillaume

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-01-27

    Interesting tutorial! Would this also work to show/hide fields when needed?

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-01-27

      Hello Jeffrey !
      Yes in theory, both *Flags methods can be used to set a field to hidden.

      There's another tutorial on hidding a field : Remove a field from Ticket [iTop Documentation]
      But it doesn't mention the methods overrides...
      @cisou are you ok to add it in this other tutorial ?

       
  • Patrick Aoun

    Patrick Aoun - 2022-01-27

    Hello all,

    Thanks for your responses. Indeed I have a support Combodo (very good support :) ). They process my request but I wanted to look for myself. In the designer I don't found where is it.

     
  • Patrick Aoun

    Patrick Aoun - 2022-01-27

    It's good thanks to the support.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.