# Form component not working on Pavlovia (text, scroll and color)

**URL:** <https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775>\
**Category:** Online experiments\
**Created:** [March 27, 2021, 4:11pm UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775 "2021-03-27T16:11:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vhetgui](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@vhetgui](https://discourse.psychopy.org/u/vhetgui)\
**Post date:** [March 27, 2021, 4:11pm UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775/1 "2021-03-27T16:11:32Z")

</div>

I have three form components in my experiment. For options with free text, I cannot enter any text. I can click on “choice” buttons. I also cannot scroll down or up to view the entire form. The color doesn’t show up as the correct color. I have attached screenshots of all 3 forms as shown locally (which works), Pavlovia (which doesn’t work) as well as their respective excel files. Any help would greatly be appreciated.

**FORM 1**  
_Pavlovia_

 ![Screen Shot 2021-03-27 at 11.49.38](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/8/4/84d8395d700546f0c58aae1e4acb703fa9f900e9.png)

_Local Psychopy_

 ![IMG_1769](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/9/2/92f347f94d9d1b8a46f88c4369fd43ebc75cc9ab.jpeg) ![IMG_1770](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/8/e/8e7319bb0ed89f4caf325f9e9c69ff8745ee41ef.jpeg)

_Excel_

 ![Screen Shot 2021-03-27 at 11.54.33](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/0/1/01e43fdac94dbeadeef6162c6d905f8a0bf02999.png)

**Form 2**

_Pavlovia_

 ![Screen Shot 2021-03-27 at 11.49.50](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/3/632e7b8a748b1cbaaff26efbbbc3a20b5bd3dbd3.jpeg)

_Local Psychopy_

 ![IMG_1771](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/e/2/e24ddb2c999a9f72ea29e517e0bbc01a12b4effa.jpeg)

_Excel_

 ![Screen Shot 2021-03-27 at 11.55.09](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/4/9/49b9799f0f09e02328dfaafb45944f975f58e636.png)

**Form 3**

_Pavlovia_

 ![Screen Shot 2021-03-27 at 11.50.29](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/d/2/d2765401329f3f16165f659ec613f65babc62dc1.png)

_Local Psychopy_

 ![IMG_1772](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/d/5db787ad4062a66881f775d5844778d945183740.jpeg) ![IMG_1773](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/b/8/b8e58cbb0a90c2c1e03aea4a0537670f052a146c.jpeg)

_Excel_

 ![Screen Shot 2021-03-27 at 11.55.32](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/8/18ed2b200be455caa6ddca9ddecd958812177403.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [March 28, 2021, 7:07am UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775/2 "2021-03-28T07:07:03Z")

</div>

Try putting white instead of the array for the colour.

Also, should it be itemColor instead of ItemColor (lower case I)?

The text box I’m sure isn’t implemented online yet and I’m not sure about the scroll

---

<div class="post-metadata">

**Author:** ![educos](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@educos](https://discourse.psychopy.org/u/educos)\
**Post date:** [March 29, 2021, 12:35pm UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775/3 "2021-03-29T12:35:18Z")

</div>

Hi there,

We have set up forms in a very similar setting, and we have the scrollbar component of our form that does not work on pavlovia (but still works locally).

We have a JS warning that states : “setting the value of attribute: rating in PsychObject: scrollbar as: undefined”  
as well as a lot of other similar JS warning on other PsychObject of the form component.

Maybe it is an issue where the translation from python to JS does not work properly ?

I’ll be happy to help on the issue if needed.

thanks for your help

---

<div class="post-metadata">

**Author:** ![awadj](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/awadj/32/40237_2.png) [@awadj](https://discourse.psychopy.org/u/awadj)\
**Post date:** [April 5, 2021, 10:06pm UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775/4 "2021-04-05T22:06:37Z")

</div>

I’ve also had a problem with the scroll feature (its there but does nothing to enable my ability to see the remaining questions. I also have an issue with being able to see the response options. There is no side scroll option to accommodate nor is there a way for me to have the responses appear underneath the questions (while remaining horizontal).  
I am including an image of what it looks like below:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/7/3/734aec23c8ccf419c735516f68bf1aa44b1b7cba.jpeg)

---

<div class="post-metadata">

**Author:** ![Antonella\_pome](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/antonella_pome/32/15028_2.png) [@Antonella\_pome](https://discourse.psychopy.org/u/Antonella_pome)\
**Post date:** [May 14, 2021, 1:06pm UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775/5 "2021-05-14T13:06:49Z")

</div>

did some of you solve the issue of scrolling?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [May 14, 2021, 1:31pm UTC](https://discourse.psychopy.org/t/form-component-not-working-on-pavlovia-text-scroll-and-color/21775/6 "2021-05-14T13:31:05Z")

</div>

Scrolling doesn’t yet work in the form component online, so I’ve created my own alternatives.

Demographics is an embedded html form  
Scroll text is a scrollable text component

> [@PsychoPy Online Demos](https://discourse.psychopy.org/t/psychopy-online-demos/22319):
>
> If you have routines or experiments that are likely to be useful to others, please create a post in this thread, editing your post to add new demos so there is one post per creator. Ideally set your demos so they can be tested without consuming a credit (if you don’t have a site license) by adding a final routine that can’t end, disabling save incomplete results and adding a small number of credits. Please do not discuss the demos in this thread or create more than one post unless you have a la…
