Specifying what units to show in "Unit Multi Row" field based on unit outcome

Answered

Comments

3 comments

  • Mark Gilmore

    Hi Laura

    The third FAQ in this help article should explain what you need to do to achieve this:

    https://support.axcelerate.com.au/hc/en-gb/articles/360000423635-Template-Builder#193460883

    I appreciate it isn't the most intuitive method of achieving the outcome, however is the best solution I can offer at this time.

    Thanks
    Mark

    1
    Comment actions Permalink
  • Laura Lloyd

    Thanks Mark, excuse my ignorance but where in my template would I enter;

    • <style type="text/css">.NR, .C, .W, .CT, .CA{

      display:none !important

      }

     

    And does the <tr class= "[Unit Competency]> before <tr id="units">? 

     

    e.g. 

    <tbody>
            <tr class="[Unit Competency]">
            </tr>
            <tr id="units">

     

    Thanks for your assistance! 

    0
    Comment actions Permalink
  • Charissa Holland

    Hi Laura,

    You can copy the following entire code into the Template HTML area which will help give you a head start and you can then build your formatting around this basic design:

    <style type="text/css">.C,[class="[Unit Competency]"]{
    display: table-row !important;
    }
    </style>
    <table border="1" cellpadding="3" cellspacing="0" style="width:100%;">
        <thead>
            <tr>
                <td><strong>Unit Name</strong></td>
                <td><strong>Unit Code</strong></td>
                <td><strong>Unit Outcome</strong></td>
            </tr>
        </thead>
        <tbody id="units">
            <tr class="[Unit Competency]" style="display:none;">
                <td>[Unit Code]</td>
                <td>[Unit Name]</td>
                <td>[Unit Competency]</td>
            </tr>
        </tbody>
    </table>

     

    This HTML code only shows "C" outcomes. If you wish to add more outcomes to the formula, the first row of code should be amended to:

    <style type="text/css">.NR,.C,.W,.CT,.CA,[class="[Unit Competency]"]{

    Hope this helps!

    0
    Comment actions Permalink

Please sign in to leave a comment.