# How to repeat questions based on select\_multiple

**URL:** <https://forum.getodk.org/t/how-to-repeat-questions-based-on-select-multiple/16405>\
**Category:** Support\
**Tags:** form-design\
**Created:** [November 21, 2018, 11:56am UTC](https://forum.getodk.org/t/how-to-repeat-questions-based-on-select-multiple/16405 "2018-11-21T11:56:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Julien\_GM](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/julien_gm/32/24732_2.png) [@Julien\_GM](https://forum.getodk.org/u/Julien_GM)\
**Post date:** [January 31, 2019, 8:52am UTC](https://forum.getodk.org/t/how-to-repeat-questions-based-on-select-multiple/16405/3 "2019-01-31T08:52:33Z")

</div>

Hi @Xiphware

I would like to ask a question in the repeat group in reference to the answers of the select\_multiple.

For example:  
select\_multiple merchants  
begin\_repeat // repeat\_count=count(count-selected($Q1)-if{$Q1='none',1,0})  
decimal // unit price for ${merchants}  
end\_repeat

I guess this is not working, didnt test it though. Have you any ideas?  
Thanks,

---

_[View the full topic](https://forum.getodk.org/t/how-to-repeat-questions-based-on-select-multiple/16405)._
