how to add or insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

how to add or insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

shiningstar
Hi Alex,
how to insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/964157c0-dbfd-4c23-8896-2e4f4c388ac5o%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: how to add or insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

Alessandro  Vernet
Administrator
The dynamic dropdown has no built-in support for "Other…". So you would need
to have that value returned by your service (for usability maybe as the
first one, if a long list). And then if you want to have the user enter the
"other" value in a text field, you'll want to make that text field visible
only if the value "other" was selected in the dynamic dropdown. Would this
work for your use case?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1592624880028-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: how to add or insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

shiningstar
<http://discuss.orbeon.com/file/t375838/Capture.png>
Hi Alex, firstly I decided to do this way but according to the figure, it's
ok for 'Applicant Name' and 'Director Name' with their respective http
services and actions. But for 'Company Members' the 'other' value will be
duplicate. sorry for not explaning details in my first post.

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1592656370366-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: how to add or insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

Alessandro  Vernet
Administrator
Hi Shine,

From your list, it seems that Company Members = Applicants + Directors. And
I imagine you don't want "Other" twice in the that list. How is the Company
Members list produced? I would imagine that this is done in a service you
created, in which case could you filter values "other" except the last one?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1592881453048-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: how to add or insert 'others' dropdown values when feeding dynamic dropdown with a rest service which send json

Alessandro  Vernet
Administrator
Hi Shine, did you get a chance to update your service so it wouldn't produce
multiple "Other", or did I misunderstand your question?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1593732952243-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet