https://wiki.lifeguideonline.org/w/index.php?title=How_to_tailor_or_change_the_information_presented_on_a_page_based_on_information_about_the_user&feed=atom&action=historyHow to tailor or change the information presented on a page based on information about the user - Revision history2024-03-28T14:55:58ZRevision history for this page on the wikiMediaWiki 1.39.4https://wiki.lifeguideonline.org/w/index.php?title=How_to_tailor_or_change_the_information_presented_on_a_page_based_on_information_about_the_user&diff=20002&oldid=prevStephHughes at 11:24, 23 January 20132013-01-23T11:24:04Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:24, 23 January 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* You will then need to tell LifeGuide when to show that text box. You do this in the logic. Here is a simple example:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* You will then need to tell LifeGuide when to show that text box. You do this in the logic. Here is a simple example:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><code> show </code> pagename.textboxname if (gender = "female")</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><code> show </code> pagename.textboxname <ins style="font-weight: bold; text-decoration: none;"><code> </ins>if <ins style="font-weight: bold; text-decoration: none;"></code> </ins>(gender = "female")</div></td></tr>
</table>StephHugheshttps://wiki.lifeguideonline.org/w/index.php?title=How_to_tailor_or_change_the_information_presented_on_a_page_based_on_information_about_the_user&diff=20001&oldid=prevStephHughes at 11:23, 23 January 20132013-01-23T11:23:30Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:23, 23 January 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* You will then need to tell LifeGuide when to show that text box. You do this in the logic. Here is a simple example:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* You will then need to tell LifeGuide when to show that text box. You do this in the logic. Here is a simple example:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>show pagename.textboxname if (gender = "female")</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><code> </ins>show <ins style="font-weight: bold; text-decoration: none;"></code> </ins>pagename.textboxname if (gender = "female")</div></td></tr>
</table>StephHugheshttps://wiki.lifeguideonline.org/w/index.php?title=How_to_tailor_or_change_the_information_presented_on_a_page_based_on_information_about_the_user&diff=20000&oldid=prevStephHughes: New page: Each page can be tailored to the individual user. For example, you may want males to see different information to females, or participants randomised to different groups to see differing ...2013-01-23T11:22:12Z<p>New page: Each page can be tailored to the individual user. For example, you may want males to see different information to females, or participants randomised to different groups to see differing ...</p>
<p><b>New page</b></p><div>Each page can be tailored to the individual user. For example, you may want males to see different information to females, or participants randomised to different groups to see differing information. You can also tailor pages depending on the information the user has entered on a previous page, for example, there may have been a tick a box for them to indicate if they have trouble sleeping; on one of the following pages you may want information about sleeping to appear only to those who ticked that box. Use the following steps to help you do this:<br />
<br />
* Add the text box to the page using the button on the bottom tool bar<br />
* Make each box you want to be tailored a 'feedback' text box. When you first add the text box to the page the type will automatically be set to 'normal'. You can change this to 'feedback' in the 'Other Properties' section which can be found in the 'textbox properties' tool bar on the right hand side of the authoring tool. <br />
* Once you have selected 'feedback' a box will appear asking you to give the feedback box a 'Unique name'. Make sure this is unique to the page.<br />
* You will then need to tell LifeGuide when to show that text box. You do this in the logic. Here is a simple example:<br />
<br />
show pagename.textboxname if (gender = "female")</div>StephHughes