Create a pop up window inside the form

86 views
Skip to first unread message

mohamed hussen

unread,
Dec 13, 2020, 8:32:28 AM12/13/20
to Ona Community
Hi, 
I have a multiple-select question and I need to show a pop-up window to the form user whenever he/she selects one option, in this pop-up window he will answer more questions and close the pop-up to select another item from the multiple-select question or continue the other form questions.

for example, if I have the following multiple-select question:
select one or more items:
item 1
item 2
item 3
if the user selects an item for (example item 1) a pop window will appear to ask the user to answer a single select question about the gender like the following:
select gender:
male 
female
after selecting the gender the user could close the pop-up window and if the user selects another item another pop-up window will appear to ask about the gender and so on.

I wonder if there is a workaround to create it in xlsform or not?

Thanks

Samson from Ona

unread,
Dec 14, 2020, 3:31:25 AM12/14/20
to ona-co...@googlegroups.com

This message was sent to the following 2 people: mohamed hussen, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello,

you can achieve this by introducing a repeat group where if a user selects number of options then a number of questions will repeat for each option selected from select multiple questions. In this case if I select only item1 the gender question will repeat once and if I select item 1 and item 3 the gender question will repeat twice and so on.
Please see the attached sample form to use as an example.

Regards,
Samson

See our community forum & help site for more information!

Attachments icon multiple_pull_test_form.xlsx
Samson Samson from Ona
--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/ca82d0b2-85cb-4e58-b448-16c75a3eab19n%40googlegroups.com.

intercom

mohamed hussen

unread,
Dec 14, 2020, 3:59:47 AM12/14/20
to Ona Community
Hi Samson,
Thank you for your reply.
I thought about the pop-up window that could be closed after answering the questions because I have a lot of items like 70 so if I used the repeat the form will be too long, so is there a way to hide the repeat questions after answering them without using the collapse functionality?

Samson from Ona

unread,
Dec 14, 2020, 7:51:24 AM12/14/20
to ona-co...@googlegroups.com

This message was sent to the following 2 people: mohamed hussen, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Mohamed,

Unfortunately, having a pop-up is not supported right now. You can only have it opened one after the other on a repeat group.
Let me know if you have further questions.

Regards,
Samson

Samson Samson from Ona
On Mon, Dec 14, 2020 at 11:59 AM, "mohamed hussen" <mohamedh...@gmail.com> wrote:

Hi Samson,

Thank you for your reply.

I thought about the pop-up window that could be closed after answering the questions because I have a lot of items like 70 so if I used the repeat the form will be too long, so is there a way to hide the repeat questions after answering them without using the collapse functionality?

On Mon, Dec 14, 2020 at 11:31 AM, "Samson Amwata" <samson...@ona.intercom-mail.com> wrote:

Hello,

you can achieve this by introducing a repeat group where if a user selects number of options then a number of questions will repeat for each option selected from select multiple questions. In this case if I select only item1 the gender question will repeat once and if I select item 1 and item 3 the gender question will repeat twice and so on.
Please see the attached sample form to use as an example.

Regards,
Samson

See our community forum & help site for more information!

Attachments icon multiple_pull_test_form.xlsx
On Sun, Dec 13, 2020 at 04:32 PM, "mohamed hussen" <mohamedh...@gmail.com> wrote:

Hi,

I have a multiple-select question and I need to show a pop-up window to the form user whenever he/she selects one option, in this pop-up window he will answer more questions and close the pop-up to select another item from the multiple-select question or continue the other form questions.


for example, if I have the following multiple-select question:

select one or more items:

item 1

item 2

item 3

if the user selects an item for (example item 1) a pop window will appear to ask the user to answer a single select question about the gender like the following:

select gender:

male

female

after selecting the gender the user could close the pop-up window and if the user selects another item another pop-up window will appear to ask about the gender and so on.


I wonder if there is a workaround to create it in xlsform or not?


Thanks

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/ca82d0b2-85cb-4e58-b448-16c75a3eab19n%40googlegroups.com.

intercom

Mohib Rahman

unread,
Dec 29, 2020, 12:52:22 AM12/29/20
to ona-co...@googlegroups.com
Hi,

How can I apply constraints to a question in xls form to write only to accept English and only allow the enumerators to write in capital letters, Smal letters, Numbers, and Space.

Thanks,
Mohib


Samson from Ona

unread,
Dec 29, 2020, 5:24:00 AM12/29/20
to ona-co...@googlegroups.com

This message was sent to the following 2 people: Didar Didar, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello Didar,

You can add a regex that checks capital letters, small letters, numbers and Spaces by using     regex(.,'^[A-Za-z0-9  ]*$')  as constraint on a text question.
Please find the attached sample form for more illustration.


Let me know if you have further questions.

Regards,
Samson

See our community forum & help site for more information!

Samson Samson from Ona
On Tue, Dec 29, 2020 at 08:52 AM, "Didar Didar" <mohibu...@gmail.com> wrote:

Hi,


How can I apply constraints to a question in xls form to write only to accept English and only allow the enumerators to write in capital letters, Smal letters, Numbers, and Space.


Thanks,

Mohib



On Mon, Dec 14, 2020 at 1:01 PM 'Samson from Ona' via Ona Community <ona-co...@googlegroups.com> wrote:

This message was sent to the following 2 people: mohamed hussen, ona-co...@googlegroups.com. Replying to this email will notify them.

Hello,

you can achieve this by introducing a repeat group where if a user selects number of options then a number of questions will repeat for each option selected from select multiple questions. In this case if I select only item1 the gender question will repeat once and if I select item 1 and item 3 the gender question will repeat twice and so on.
Please see the attached sample form to use as an example.

Regards,
Samson

See our community forum & help site for more information!

On Sun, Dec 13, 2020 at 04:32 PM, "mohamed hussen" <mohamedh...@gmail.com> wrote:

Hi,

I have a multiple-select question and I need to show a pop-up window to the form user whenever he/she selects one option, in this pop-up window he will answer more questions and close the pop-up to select another item from the multiple-select question or continue the other form questions.


for example, if I have the following multiple-select question:

select one or more items:

item 1

item 2

item 3

if the user selects an item for (example item 1) a pop window will appear to ask the user to answer a single select question about the gender like the following:

select gender:

male

female

after selecting the gender the user could close the pop-up window and if the user selects another item another pop-up window will appear to ask about the gender and so on.


I wonder if there is a workaround to create it in xlsform or not?


Thanks

--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/ca82d0b2-85cb-4e58-b448-16c75a3eab19n%40googlegroups.com.
--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/a8abf6b5-233563a6-1607934682-63366200021543%40ona.intercom-mail-400.com.
--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages