Menu

How to reorder fields in Form Stimulus when changing status?

Edward
2020-07-17
2021-06-25
  • Edward

    Edward - 2020-07-17

    How to reorder fields in Form Stimulus when changing status?
    Who can help me? pls!

     
  • Romain A.

    Romain A. - 2020-07-17

    Hello Edward,

    You can do this in the <transitions></transitions> in each state.
    Here the documentation about this. Follow : Classes > Class > Lifecycle > States > State > Transitions > Transition > Flags > Attribute.

    Romain

     
    👍
    1
    • Edward

      Edward - 2020-07-17

      Hi Romain,
      Thanks you so much!
      I have tried it. But is it still the same and nothing has changed?

       
      👍
      1

      Last edit: Edward 2021-06-18
    • Edward

      Edward - 2021-06-18

      Hello Romain,
      After a long time, I'm having trouble arranging the fields on the transition form again. I also tried the way you suggested but it didn't work.

      Here is my code:
      <classes>
      <class id="user-content-UserRequest">
      <lifecycle>
      <states>
      <state id="user-content-assigned">
      <transitions>
      <transition id="user-content-ev_resolved">
      <target>resoved<target>
      <flags>
      <attribute id="user-content-service_id"></attribute>
      <attribute id="user-content-servicesubcatelogy_id"></attribute>
      <attribute id="user-content-solution"></attribute>
      </flags>
      </target></target></transition>
      </transitions>
      </state>
      </states>
      </lifecycle>
      </class>
      </classes>

      Thanks,
      Edward

       
  • Vincent @ Combodo

    That's a known limitation of iTop, in the console, transition form cannot be defined, it is auto-computed and order is wierd

     
    👍
    1
    • Edward

      Edward - 2021-06-21

      Thank you for the quick response. If it was sorted it could be more perfect.

       
      • Pierre Goiffon

        Pierre Goiffon - 2021-06-25

        iTop is open source and we are open to contributions :)
        See Contributing to iTop

         

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.