Page 2 of 3

Cap on multiple drop-down menu options

Posted: Sun Nov 03, 2013 8:00 pm
by Doz

OK. I have been asking the same set of questions but am not satisfied with the kind of responses I have been getting. Could someone please give me a response that actually attempts to solve my problem? It is painful when I get these fleeting, very short remarks that do not really address my problem!

I am building an app. I have set up a sign_up service. One of the sign_up requirements is for the user to select his occupation(s) using the select component. I am able to get the selected occupation to appear on the database when only one occupation can be selected. But when I enable the multiple selection feature, the user's selected occupation(s) no longer appears on the database. Please EXPLAIN how I can solve this problem. Is there something wrong with my UI, mapping or database? I have read every tutorial that may apply to this but I am yet to get a solution. I have also looked at similar topics in the support forum section.

I appreciate your help but please, guys, read my question before you give me an answer. Don't just refer me to some random document. Please attempt to solve my problem.

Thank you!


Cap on multiple drop-down menu options

Posted: Sun Nov 03, 2013 10:19 pm
by maxkatz

Using the API I showed you above, you would get a result that looks like this:

Veni,Vidi,Vici

I don't know your database structure. You could save each value into its own column or you can save the entire string into one column.

Either way, you would need to add columns to the Users collection (if that's where you are saving).

Hope this helps.


Cap on multiple drop-down menu options

Posted: Mon Nov 04, 2013 3:03 am
by Doz

I already added the column for occupation in the database. It works for other sign up inputs and for other select component items. The only problem is with the occupation where the user should be able to select multiple occupations. Nothing appears in the designated occupations column in the database. The only way I have been able to get values to appear in the database column is to type them in directly into the request parameters of the service testing page and click "Test".

I tried using the API request you mentioned earlier: Appery('select').val(). Where exactly should I have put this API?


Cap on multiple drop-down menu options

Posted: Mon Nov 04, 2013 3:21 am
by maxkatz

Can you show how you read the values the user selected and how you invoke the service to save them?


Cap on multiple drop-down menu options

Posted: Mon Nov 04, 2013 10:02 pm
by Doz

What email can I use to share the app with you?


Cap on multiple drop-down menu options

Posted: Mon Nov 04, 2013 10:06 pm
by Kateryna Grynko

Hi,

You can share with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a


Cap on multiple drop-down menu options

Posted: Mon Nov 04, 2013 10:13 pm
by Doz

I just shared my app. It is called Constet-1.


Cap on multiple drop-down menu options

Posted: Mon Nov 04, 2013 10:14 pm
by Doz

I just shared my app.


Cap on multiple drop-down menu options

Posted: Tue Nov 05, 2013 3:21 am
by Doz

Has anyone got the chance to look at the app I shared yet?


Cap on multiple drop-down menu options

Posted: Tue Nov 05, 2013 4:50 am
by Alena Prykhodko

Hello Doz! We'll update when have more information.