Commit Graph

671 Commits

Author SHA1 Message Date
Becky Gilbert
83a289b6c9 changed wording in console.warn 2020-10-19 17:31:33 -07:00
Becky Gilbert
dadf120f17
Merge pull request #1028 from chrisbrickhouse/1014
Warn about possible deadlock if response_ends_trial is false and trial_duration is null
2020-10-19 16:52:48 -07:00
Becky Gilbert
d010376bb6 fix canvas positioning to get rid of scroll bars - #881 2020-10-11 14:55:04 -07:00
Becky Gilbert
121428cf31 change start param to slider_start 2020-10-11 12:16:39 -07:00
Becky Gilbert
d236f028f0 changed slider response from string to numeric 2020-10-11 10:55:10 -07:00
Becky Gilbert
b3effcb015 fix inconsistencies in parameter info 2020-10-11 10:33:01 -07:00
Becky Gilbert
f92b9214b5 fixed inconsistencies in parameter info 2020-10-11 10:26:10 -07:00
Becky Gilbert
7e95a9b005
Merge pull request #676 from dillonplunkett/checkboxes-fix
return input elements to within label elements
2020-10-08 18:22:24 -07:00
Becky Gilbert
864093238b
Merge pull request #675 from hrcn/patch-2
initialize variable i in for loops
2020-10-08 18:04:32 -07:00
Becky Gilbert
55d0f31548
Merge pull request #701 from kurokida/master
Enable a survey-likert response selection by clicking label string
2020-10-08 16:47:57 -07:00
Becky Gilbert
787b7bd0a5
Merge pull request #714 from vijaymarupudi/video-slider-fixes
fix start and slider_start parameters in video-slider-response plugin
2020-10-08 16:30:43 -07:00
Becky Gilbert
a891526e89 edit formatting 2020-10-02 11:39:44 -07:00
Becky Gilbert
402d4f0d8f
Merge pull request #1072 from chrisbrickhouse/Iss-1062
survey-html-form: add autofocus parameter
2020-10-02 11:35:37 -07:00
Becky Gilbert
f99048a0e2 change autofocus to autocomplete 2020-10-02 11:02:51 -07:00
Becky Gilbert
b96a875d30
Merge pull request #1073 from chrisbrickhouse/Iss-1064
survey-*: default to autocomplete=off and add param to enable
2020-10-02 11:00:23 -07:00
Christian
ebb6fce877
survey-html-form: validate autofocus parameter
When the autofocus parameter is set, check that
the specified element exists in the DOM and
check that the specified ID is unique. If there
is not exactly 1 element with the given ID, warn
the user about unexpected behavior.
2020-10-01 19:45:49 -07:00
Christian
11291625ff
survey-*: stop autocomplete add param to enable
Add an autocomplete parameter to the html form plugin
series. When autocomplete is set to true, the <form>
tag added by the survey-* plugin will behave as before.
When not defined or set to false, the <form> tag is
given the autocomplete="off" attribute and value.
2020-10-01 19:09:49 -07:00
Becky Gilbert
bc2809b3f1 remove files that were unintentionally added in PR 2020-10-01 16:58:06 -07:00
Becky Gilbert
36df451b08
Merge pull request #1081 from GEJ1/instructions
Instructions plugin changes: add page_label parameter to plugin and docs, add show_page_number parameter to docs
2020-10-01 16:52:28 -07:00
Gustavo Juantorena
293338172f Addded page_label to plugin jspsych-instructions also changed docs 2020-09-27 14:07:14 -03:00
Gustavo Juantorena
49f68b7b7e Revert "Addded page_labe to plugin.info also changed docs"
This reverts commit ada7afbf89.
2020-09-27 03:44:35 -03:00
Gustavo Juantorena
ada7afbf89 Addded page_labe to plugin.info also changed docs 2020-09-27 03:05:35 -03:00
Gustavo Juantorena
e1ec9852c8 Fixed problem going to next trial 2020-09-25 19:11:29 -03:00
Christian
47e6080d63
survey-*: stop autocomplete add param to enable
Excludes survey-multi-select since it's highly
specialized and the parameter doesn't really
apply to it.

Issue #1064
2020-09-23 21:47:15 -07:00
Christian
8d8ee8ae55
survey-html-form: add autofocus parameter
Users can provide the id of an element to focus on when the
slide is displayed. While HTML5 has an autofocus parameter
it is not universal and not all browsers support it. This
solution should work across browsers and is more in keeping
with the jsPsych object style.

Issue #1062
2020-09-23 21:05:42 -07:00
Becky Gilbert
a095e81fad fix prompt bug 2020-09-16 18:15:32 -07:00
Christian
e9735c6137
Fix test failures. 2020-09-03 18:28:07 -07:00
Christian
36f637ed6e
Warn about possible deadlock per #1014
If no duration is set and a response does not end the trial, then
the trial will never end and the experiment is deadlocked. Users
will be warned about this situation and given hints on how to
fix it.
2020-09-03 18:13:35 -07:00
Gustavo Juantorena
c515d43c0d virtual chin plugin 2020-08-31 17:54:23 -03:00
Gustavo Juantorena
47726004cb jsPsych-virtual-chin-rest.js new plugin 2020-08-31 17:36:08 -03:00
Salva Ardid
8729972db6 systematically saving stimulus and slider start position in all slider plugins 2020-06-02 21:43:04 -04:00
Vijay Marupudi
afbcaa4f3d slider_start and video duplicate id fixes. 2020-05-22 22:30:27 -05:00
Daiichiro Kuroki
a08d320b3c Enable to response by clicking string directly. 2020-05-12 13:25:51 +09:00
Dillon Plunkett
be6c945419 return checkboxes to within label elements
Checkbox elements were previously child elements of their labels.
55106fe increased backwards compatibility, but seems to have
inadvertently made them siblings instead, breaking some css.
Fix that.
2020-02-25 16:54:28 -05:00
Rui Han
eddfac4746
initialize variable i in for loops 2020-02-24 14:51:44 -05:00
clement thorey
173aa28d64 [FIX] typo 2019-07-22 20:16:41 +01:00
Josh de Leeuw
5a56431f8d add name option for survey plugins #608 2019-07-15 12:06:10 -04:00
Josh de Leeuw
c83e115f9b add name option to survey-text #608 2019-07-15 10:54:26 -04:00
Josh de Leeuw
7e33af85cb add video-* plugins #636 2019-07-12 11:38:21 -04:00
Josh de Leeuw
6be86017c8
Merge pull request #622 from designatednerd/master
Add video trial requiring a keyboard response
2019-07-11 10:40:38 -04:00
Josh de Leeuw
c126b58f0a implement scale_width #633 2019-07-11 10:29:47 -04:00
Josh de Leeuw
9a682bb260 fix semicolon bug 2019-07-05 11:20:59 -04:00
Josh de Leeuw
208ecf0365 some minor tweaks to survey-html-form plugin 2019-07-04 15:24:37 -04:00
Josh de Leeuw
7d01510a24
Merge pull request #602 from jansim/master
Added very simple alternative jspsych-survey-html-form plugin
2019-07-04 15:19:13 -04:00
Josh de Leeuw
0fe7fe2cf4 fix div bug 2019-07-04 15:14:58 -04:00
Josh de Leeuw
9bed32fb0f implements settable width for sliders (#631) 2019-07-04 15:10:52 -04:00
Josh de Leeuw
dda27c6bc8 implement require_movement in slider plugins #573 2019-07-03 12:26:20 -04:00
Josh de Leeuw
381d2778b1 Merge branch 'pr/575' 2019-07-02 22:15:50 -04:00
Josh de Leeuw
4ea7cef4cd prettier margin on slider 2019-07-02 22:00:00 -04:00
Josh de Leeuw
9da8c452f2 implement image size settings for image plugins #560 2019-07-02 21:55:15 -04:00