Odpovědět Changes in Bug Template

  • 6. března 2012 12:52
     
     

    Hi,

     In the section where it has "date raised by customer" etc,
     could we a new drop down, "Method of receipt", with the options - "Phone" - tick box - if selected, box for "UCID"

     or

     "Email/Letter/fax" - tick box - if selected, another drop down - "Attached" - Yes/No

     Could we have it basically so that its a mandatory requirement, they have to fill in how the complaint is received. And if they say phone, they have to put something in the   UCID box. If they say "Email/Letter/Fax", they have to say whether its attached - yes or no.

     I'd really like this whole section mandatory because its a regulatory requirement.

    Could You please provide steps to achieve above requirement.

    Regards

    Sreedhar

Všechny reakce

  • 6. března 2012 13:46
     
     Odpovědět

    Hi Sreedhar!

    Try to use WHEN rule for fields like this:

    <FieldDefinition refname="Sreedhar.UCID" name="UCID" type="String">
      <WHEN field="Sreedhar.MethodOfReceipt" value="Phone">
        <REQUIRED />
      </WHEN>
    </FieldDefinition>

    or if you use power tools:

  • 6. března 2012 13:52
     
     

    Sreedhaar,

    As Aleksander already pointed out you can use the WHEN clouse to point that a field is required.

    You can find more information on the following MSDN page:

    http://msdn.microsoft.com/en-us/library/ms194966.aspx


    Please remember to mark the replies as answers if they help. --- Success, Damir


  • 7. března 2012 10:20
     
     

    Hi,

    Thanks, it will help us to solve the problem.

    Regards

    Sreedhar