<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lifeguideonline.org/w/index.php?action=history&amp;feed=atom&amp;title=Using_buttons</id>
	<title>Using buttons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lifeguideonline.org/w/index.php?action=history&amp;feed=atom&amp;title=Using_buttons"/>
	<link rel="alternate" type="text/html" href="https://wiki.lifeguideonline.org/w/index.php?title=Using_buttons&amp;action=history"/>
	<updated>2026-05-13T19:01:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://wiki.lifeguideonline.org/w/index.php?title=Using_buttons&amp;diff=22126&amp;oldid=prev</id>
		<title>Vrawiki: Created page with &quot;The use of clear buttons is essential to every intervention.  To add a button:  * Click &#039;&#039;&#039;Button&#039;&#039;&#039; in the bottom tool bar. * A generic grey box will appear with the text &#039;&#039;&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.lifeguideonline.org/w/index.php?title=Using_buttons&amp;diff=22126&amp;oldid=prev"/>
		<updated>2017-03-22T21:50:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The use of clear buttons is essential to every intervention.  To add a button:  * Click &amp;#039;&amp;#039;&amp;#039;Button&amp;#039;&amp;#039;&amp;#039; in the bottom tool bar. * A generic grey box will appear with the text &amp;#039;&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The use of clear buttons is essential to every intervention.  To add a button:&lt;br /&gt;
&lt;br /&gt;
* Click &amp;#039;&amp;#039;&amp;#039;Button&amp;#039;&amp;#039;&amp;#039; in the bottom tool bar.&lt;br /&gt;
* A generic grey box will appear with the text &amp;#039;&amp;#039;&amp;#039;A button&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* When you click on this box the &amp;#039;&amp;#039;&amp;#039;Button Properties&amp;#039;&amp;#039;&amp;#039; tool bar will appear to the left of the authoring tool.&lt;br /&gt;
* Using the &amp;#039;&amp;#039;&amp;#039;Button Properties&amp;#039;&amp;#039;&amp;#039; you can choose the type of button e.g. &amp;#039;&amp;#039;&amp;#039;Next&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Back&amp;#039;&amp;#039;&amp;#039;, etc.  If you want the next page in your intervention to be a page that is not necessarily next in the logic file, use a &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; button and type in the name of the page you would like the button to go to.&lt;br /&gt;
* Within the &amp;#039;&amp;#039;&amp;#039;Button properties&amp;#039;&amp;#039;&amp;#039; you can also change how the button looks, e.g. colour, style, text.&lt;br /&gt;
&lt;br /&gt;
==Important information about Jump buttons==&lt;br /&gt;
* If you have error messages on a page, you must use a &amp;#039;&amp;#039;&amp;#039;Next&amp;#039;&amp;#039;&amp;#039; button. If you use a &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; button, your error messages will not work (because users will be jumping to another page in your logic and not progressing through the logic line by line).&lt;br /&gt;
* Jump buttons do not work on templates.&lt;br /&gt;
* Where possible, it is advisable to take users to a different page using logic in the logic file, i.e. by using (&amp;lt;code&amp;gt;after...if...goto...&amp;lt;/code&amp;gt;) logic rather than by using &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; buttons, as it&amp;#039;s a more methodical process and if something doesn&amp;#039;t work correctly, it&amp;#039;s easier to track what&amp;#039;s gone wrong by looking at the logic file.  &lt;br /&gt;
* If you use &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; buttons on a page, please make sure that in your logic file, you do not have any functional logic commands such as &amp;lt;code&amp;gt;sendemail, savevalue,&amp;lt;/code&amp;gt; etc. immediately after the pages with the &amp;#039;Jump&amp;#039; button. The reason for this is that when end-users click on a &amp;#039;Jump&amp;#039; button, any logic commands which occur immediately after the &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; page logic in the logic file, may not be executed. The &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; button will take the end-user to the page specified on the button and anything in the logic occurring after the &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; page logic may be ignored.&lt;br /&gt;
&lt;br /&gt;
In the example below, you could have a &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; button on page &amp;#039;&amp;#039;&amp;#039;sport1&amp;#039;&amp;#039;&amp;#039; which will take you to &amp;#039;&amp;#039;&amp;#039;sport3&amp;#039;&amp;#039;&amp;#039;. You should &amp;#039;&amp;#039;&amp;#039;NOT&amp;#039;&amp;#039;&amp;#039; put a &amp;#039;&amp;#039;&amp;#039;Jump&amp;#039;&amp;#039;&amp;#039; button on &amp;#039;&amp;#039;&amp;#039;sport3&amp;#039;&amp;#039;&amp;#039; because the &amp;lt;code&amp;gt;sendemail&amp;lt;/code&amp;gt; logic will not work and the &amp;#039;&amp;#039;&amp;#039;session2&amp;#039;&amp;#039;&amp;#039; email will not be sent. &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
show sport1&lt;br /&gt;
show sport2&lt;br /&gt;
show sport3&lt;br /&gt;
sendemail(&amp;quot;session2&amp;quot;, user1@study.com, &amp;quot;Session 2&amp;quot;, &amp;quot;Session 2 is ready! Please login soon.&amp;quot;, 600)&lt;br /&gt;
show sport4&lt;br /&gt;
show sport5&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Buttons on Templates==&lt;br /&gt;
You may want to put &amp;#039;&amp;#039;&amp;#039;Next&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Back&amp;#039;&amp;#039;&amp;#039; buttons on one or more of the templates so that you do not have to add them each time and they look consistent throughout the intervention. You cannot use Jump buttons on templates.&lt;br /&gt;
&lt;br /&gt;
It is a good idea to stick to a particular format for buttons throughout your intervention, i.e. keep them all the same size/shape.  If you are going to use a button on many pages (e.g. the &amp;#039;Next&amp;#039; button), copy and paste this from page to page (if it is not on your template) so that it looks exactly the same each time and you do not have to remake it.&lt;br /&gt;
&lt;br /&gt;
==Changing the look and feel of buttons==&lt;br /&gt;
&lt;br /&gt;
To change the look and feel of a button follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Click on the button you would like to change.&lt;br /&gt;
* You will see &amp;#039;&amp;#039;&amp;#039;Button Properties&amp;#039;&amp;#039;&amp;#039; appear on the right hand side of the authoring tool.&lt;br /&gt;
* Within this tool bar you can change the font style, colour, size etc, along with the button border style and colour.  &lt;br /&gt;
&lt;br /&gt;
It is a good idea to have all buttons with the same function within your intervention look the same, for example, all &amp;#039;Next&amp;#039; buttons should look the same.  &amp;#039;Back&amp;#039; buttons may be a different colour to the &amp;#039;Next&amp;#039; buttons, but for a more professional finish, make them the same overall design.&lt;br /&gt;
&lt;br /&gt;
See image below - make sure you scroll down within the &amp;#039;Button Properties&amp;#039; to make use of all the functions:&lt;br /&gt;
&lt;br /&gt;
[[Image:lookofbuttons.jpg]]&lt;/div&gt;</summary>
		<author><name>Vrawiki</name></author>
	</entry>
</feed>