You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adobe.qmd
+18-30Lines changed: 18 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,7 @@
1
1
---
2
2
title: "Adobe Best Practice Guide"
3
-
output:
4
-
html_document:
5
-
code_folding: show
6
3
---
7
4
8
-
```{r setup, include = FALSE}
9
-
knitr::opts_chunk$set(
10
-
echo = TRUE,
11
-
error = TRUE,
12
-
comment = "",
13
-
class.source = "fold-show")
14
-
```
15
-
16
5
# Adobe Best Practices
17
6
18
7
- Name variables all lowercase with no spaces; use underscores if separating words
@@ -38,7 +27,7 @@ However, this can be changed if problematic.
38
27
- To reset forms, copy and paste the variables, then delete what you pasted, and it will be cleared.
39
28
- Calculated fields should ***NOT*** be calculated off of already calculated fields.
40
29
Fields should only be calculated off of fields that are manually inputted.
41
-
For more information on this, see creating [time calculations](adobe.html#timecalculations)
30
+
For more information on this, see creating [time calculations](#sec-timecalculations)
42
31
43
32
# Converting Word Documents to PDFs
44
33
@@ -82,7 +71,7 @@ These actions typically include:
82
71
* Reseting a field(s)/form
83
72
* Hiding/Revealing a field(s)
84
73
85
-
## Naming Convention for Variables in Adobe {#namingvariables}
74
+
## Naming Convention for Variables in Adobe {#sec-namingvariables}
86
75
87
76
1. Variable names should be in all lowercase with no spaces and underscores separating words
88
77
1. Keep variable names as consistent as possible across forms with similar variables
@@ -121,7 +110,7 @@ These actions typically include:
121
110
- Total # of Scoreable Trials Played: `total_scored_task_trials`
122
111
-*Note:* "task_trials" should be replaced with whether the round/block of trials is `imitation_trials`, `comp_check`, `practice_trials`, or `test_trials`.
123
112
124
-
### Naming Convention for Radio Buttons {#namingconventionradiobuttons}
113
+
### Naming Convention for Radio Buttons {#sec-namingconventionradiobuttons}
125
114
126
115
1. In order to create calculated fields for trial totals, radio button "Choice Values" must be manually set.
127
116
To facilitate the process, this should be done after aligning each group of radio buttons for each trial under each TC response for the trial.
@@ -143,7 +132,7 @@ The Choice Values can then be set through the following steps:
143
132
-*Note:* While calculated fields can be derived from different radio button choice values, it is imperative to assign the button choices according to these values.
144
133
This allows for consistency across pdfs and the ability to smoothly borrow code for calculated fields.
145
134
146
-
### Naming Convention for Check Boxes {#namingconventioncheckboxes}
135
+
### Naming Convention for Check Boxes {#sec-namingconventioncheckboxes}
147
136
148
137
Check boxes can be named in such a way that they act similar to radio buttons, allowing only one selection out of a group of check boxes.=
149
138
A group of check boxes can be formatted as radio buttons through the following steps:
@@ -162,11 +151,11 @@ A group of check boxes can be formatted as radio buttons through the following s
162
151
1. While both groups of radio buttons and this form of groups of check boxes operate the same way and permit only one selection within the group, groups of check boxes provide an advantage by allowing for deselection of the value.
163
152
Within groups of radio buttons, as soon as a button is selected, the group of buttons cannot be reset or deselected.
164
153
This usage of groups of check buttons may be useful going forward and should be considered when creating new coding forms.
165
-
-*Note:* Creating calculated fields from groups of check boxes will follow the same procedure as [creating calcuated fields from radio buttons](adobe.html#createcalculatedradiobuttons).
154
+
-*Note:* Creating calculated fields from groups of check boxes will follow the same procedure as [creating calcuated fields from radio buttons](#sec-createcalculatedradiobuttons).
166
155
Thus, it is important to ensure the export values for each check box follow the values listed in Step 3.
167
156
168
157
169
-
## Hiding and Revealing Fields in Adobe {#hiddenfields}
158
+
## Hiding and Revealing Fields in Adobe {#sec-hiddenfields}
170
159
171
160
Fields can be hidden and revealed within Adobe documents.
172
161
To do such, complete the following steps:
@@ -210,16 +199,15 @@ To assign a radio button, check box, text field, or action button an action, com
210
199
1. Multiple actions can be assigned to the same object.
211
200
Thus, repeat steps 1-6 as many times as needed to assign the necessary actions to a given object
212
201
213
-
214
202
# Creating Calculated Fields
215
203
216
204
Adobe Acrobat both includes its own functions for creating calculated fields and allows for the implementation of custom calculation scripts within forms.
217
205
While the calculation features are built-in to Adobe, the custom calculation scripts must be written using the programming language JavaScript.
218
206
The following sections detail how to create different types of calculated fields.
219
207
220
-
## Creating Calculated Fields from Radio Buttons {#createcalculatedradiobuttons}
208
+
## Creating Calculated Fields from Radio Buttons {#sec-createcalculatedradiobuttons}
221
209
222
-
1. First, ensure the radio buttons and their choice values are appropriately set according to the [naming convention for radio buttons](adobe.html#namingconventionradiobuttons)
210
+
1. First, ensure the radio buttons and their choice values are appropriately set according to the [naming convention for radio buttons](#sec-namingconventionradiobuttons)
223
211
1. Select the text field which must be turned into a calculated field
224
212
1. Right-click on the field and select "Properties"
225
213
1. Select the "Calculate" tab within the Properties menu
@@ -260,7 +248,7 @@ The following sections detail how to create different types of calculated fields
260
248
event.value = total + total2 + total3 + total4
261
249
```
262
250
- This script should be fit according to how many trials/variables must be calculated from
263
-
- Proceed to [Breaking Down the Calculation Script](adobe.html#breakingdownscript) to gain a greater understanding of the script
251
+
- Proceed to [Breaking Down the Calculation Script](#sec-breakingdownscript) to gain a greater understanding of the script
264
252
265
253
## Creating Calculated Fields from Radio Buttons: Video
266
254
@@ -276,7 +264,7 @@ Watch the following video in order to observe an example of creating calculated
276
264
277
265
1. Prepare the check boxes for calculation:
278
266
279
-
1. Provide the check boxes from which the field will be calculated with appropriate variable names, closely following standard [naming convention for variables](adobe.html#namingvariables) when possible
267
+
1. Provide the check boxes from which the field will be calculated with appropriate variable names, closely following standard [naming convention for variables](#sec-namingvariables) when possible
280
268
281
269
1. For each check box, an export value must be assigned.
282
270
The export value will determine what numeric value the check box will carry throughout calculation.
@@ -293,7 +281,7 @@ Watch the following video in order to observe an example of creating calculated
293
281
-*Note:* The appropriate `mathematical operator` should be selected according to the desired final calculation from the drop down list of "sum (+)," "product (x)," "average," "minimum," or "maximum"
294
282
1. Select "Pick..." and then check the variable names of the check boxes to be calculated
295
283
296
-
## Breaking Down the Calculation Script {#breakingdownscript}
284
+
## Breaking Down the Calculation Script {#sec-breakingdownscript}
297
285
298
286
```
299
287
var v1 = getField("variable_group_name").value
@@ -343,7 +331,7 @@ The calculation script for radio buttons can be broken down into three parts:
343
331
- The line `var v1 = getField("variable_group_name").value` defines the selected radio button in "variable_group_name" as `var v1` (variable 1) within this script and pulls the **choice value** from each group
344
332
- Thus, within each `getField()`, the name of each group of radio buttons should be added in quotations
345
333
-*Note:* The number being pulled through this function directly corresponds to the choice value defined for each radio button in the group of radio of radio buttons.
346
-
This is why it is crucial to define choice values according to the same [naming convention for radio buttons](adobe.html#namingconventionradiobuttons)
334
+
This is why it is crucial to define choice values according to the same [naming convention for radio buttons](#sec-namingconventionradiobuttons)
347
335
- Each `var vX` should reflect a trial on the form.
348
336
Thus, if there are 15 test trials, there should be 15 lines of code from `var v1` to `var v15` with the name for each group of radio buttons inputed in `getField("")` for each variable
349
337
@@ -392,7 +380,7 @@ The calculation script for radio buttons can be broken down into three parts:
392
380
}
393
381
```
394
382
395
-
- Because a total correct field is being calculated, the choice value of 2 should be inputed as this is the choice value which corresponds to "Correct" (see [naming convention for radio buttons](adobe.html#namingconventionradiobuttons))
383
+
- Because a total correct field is being calculated, the choice value of 2 should be inputed as this is the choice value which corresponds to "Correct" (see [naming convention for radio buttons](#sec-namingconventionradiobuttons))
396
384
- The value of 2 would be inputed for each if/else statement for each variable.
397
385
Thus, if there were 15 variables, there should be 15 if/else statements `v1 == 2` to `v15 == 2`
398
386
- The if/else statement for each variable defines that if the value pulled by the `getField()` function matches the inputted choice value for the variable then the total for that variable becomes equal to 1.
## Breaking Down the Conditional Formatting Calculation Script
814
802
815
-
Notice the [traditional calculation script](adobe.html#breakingdownscript) is present within this script.
803
+
Notice the [traditional calculation script](#sec-breakingdownscript) is present within this script.
816
804
However, additional if/else commands are implemented in order to account for the dependence on another variable.
817
-
Before proceeding with this section, an understanding of the [traditional calculation script](adobe.html#breakingdownscript) should be obtained.
805
+
Before proceeding with this section, an understanding of the [traditional calculation script](#sec-breakingdownscript) should be obtained.
818
806
In the following section, Variable X refers to the variable which is contingent on the value of another variable, Variable Y.
819
807
Thus, the conditional formatting is described in such a way that the value of a Variable X is dependent on the value of Variable Y.
820
808
<br>
@@ -881,7 +869,7 @@ The conditional formatting calculation script features two major alterations:
881
869
```
882
870
883
871
- This alteration to the script utilizes if/else commands to establish contingency on Variable Y
884
-
- As outlined in the [Breaking Down the Calculation Script](adobe.html#breakingdownscript) section, the if/else statements operate in the same manner and follow the same procedures.
872
+
- As outlined in the [Breaking Down the Calculation Script](#sec-breakingdownscript) section, the if/else statements operate in the same manner and follow the same procedures.
885
873
However, notice an additional if/else statement is present for each trial and surrounds the original if/else statement:
Copy file name to clipboardExpand all lines: documentation-remote.qmd
+13-20Lines changed: 13 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -2,44 +2,37 @@
2
2
title: "Remote Participation"
3
3
---
4
4
5
-
```{r setup, include = FALSE}
6
-
knitr::opts_chunk$set(
7
-
echo = TRUE,
8
-
error = TRUE,
9
-
comment = "")
10
-
```
11
-
12
5
The following sections provide instructions for how to participate in the lab remotely.
13
-
As described in the [lab manual](manual.html#remote), RAs should never access lab data remotely without permission or direction from the Lab Coordinator, a graduate student, or the PI.
6
+
As described in the [lab manual](lab-manual.qmd#sec-remote), RAs should never access lab data remotely without permission or direction from the Lab Coordinator, a graduate student, or the PI.
14
7
These instructions applied mainly during the earlier parts of the COVID-19 pandemic.
15
8
We are now working fully in-person.
16
-
Nevertheless, students who are conducting [Honors Projects](honors.html) may need to access their projects during off-hours.
9
+
Nevertheless, students who are conducting [Honors Projects](honors.qmd) may need to access their projects during off-hours.
17
10
18
11
**How To…**
19
12
20
13
# Join the Weekly Lab Meeting
21
14
22
15
- Open the lab calendar in Outlook (see the lab manual for how to do this)
23
16
- Click on the link in the lab meeting event on the calendar
24
-
1. Alternatively, go to: https://uiowa.zoom.us/join
17
+
1. Alternatively, go to: <https://uiowa.zoom.us/join>
25
18
1. Enter the meeting ID (as shown in the calendar)
26
19
- You should be muted by default when you first enter the meeting
27
-
- If you are unable to "attend" this week's lab meeting due to a scheduling conflict or limited access to the internet, please reach out to the Lab Coordinator at the devpsy-lab@uiowa.edu email.
20
+
- If you are unable to "attend" this week's lab meeting due to a scheduling conflict or limited access to the internet, please reach out to the Lab Coordinator at the [devpsy-lab@uiowa.edu](mailto:devpsy-lab@uiowa.edu) email.
28
21
29
-
# VPN Access to the Lab Drive {#vpn}
22
+
# VPN Access to the Lab Drive {#sec-vpn}
30
23
31
24
To access the lab drive, you must connect to the university's VPN using Cisco AnyConnect.
32
25
Visit this website to learn how to set up VPN access to the lab drive:
33
-
https://its.uiowa.edu/support/article/1876 (archived at https://perma.cc/ST6R-PCJU)
26
+
<https://its.uiowa.edu/support/article/1876> (archived at <https://perma.cc/ST6R-PCJU>)
# Map the Lab Drive Onto a Mac Computer {#mapLabDrive}
33
+
# Map the Lab Drive Onto a Mac Computer {#sec-mapLabDrive}
41
34
42
-
1.[VPN](#vpn) into the university network
35
+
1.[VPN](#sec-vpn) into the university network
43
36
1. In the upper task bar, click "Go"
44
37
1. Select "Connect to Server" from the drop-down menu
45
38
1. In the "Server Address" bar, type: `smb://lc-rs-store24.hpc.uiowa.edu/lss_itpetersen/Lab/`
@@ -53,18 +46,18 @@ The full drive path to our lab drive is:
53
46
In the future, you can reconnect to the shared volume by double-clicking this alias.
54
47
1. Then, you should be able to access the scripts on the lab share with `R` at the following location: `/Shared/lss_itpetersen`
55
48
56
-
# Remote Access to a Lab Computer {#remoteAccess}
49
+
# Remote Access to a Lab Computer {#sec-remoteAccess}
57
50
58
51
A possibility may be to "remote in" to a lab computer.
59
52
This allows you to use a lab computer from anywhere, so you can access all of the programs on our lab computers without having to install them on your personal machine.
60
53
Remoting in to a lab computer might also be easier for accessing large lab files (e.g., videos for coding).
61
54
However, you should only remote in to a lab computer if nobody in the lab is using the computer and nobody in the lab will need to use the computer.
62
55
You can remote in to a lab computer using a program called "Remote Desktop."
63
-
Visit this website to learn how to set up Remote Desktop access on your computer: https://its.uiowa.edu/remotedesktop
56
+
Visit this website to learn how to set up Remote Desktop access on your computer: <https://its.uiowa.edu/remotedesktop>
64
57
65
58
To gain remote access to a lab computer:
66
59
67
-
1.[VPN](#vpn) into the lab drive
60
+
1.[VPN](#sec-vpn) into the lab drive
68
61
1. When prompted for the computer's name in the Remote Desktop client, follow this format:
69
62
-`PSYC-S###.iowa.uiowa.edu`
70
63
- Then, enter your username using this format: `iowa\HawkID`
@@ -76,13 +69,13 @@ To gain remote access to a lab computer:
76
69
Task Timing Sheet: can be accessed through your student Office 365 OneDrive—the Lab Coordinator will share a link so everyone has access
77
70
78
71
Visit Videos: can be accessed on the lab drive using VPN and should be watched using VLC media player.
79
-
You can download VLC for free here: https://www.videolan.org/vlc/index.html
72
+
You can download VLC for free here: <https://www.videolan.org/vlc/index.html>
80
73
81
74
Coding Forms: editable PDFs have been created for easier electronic completion—you can find your tasks' PDF coding forms on the lab drive here:
0 commit comments