Choices in a Shopping Cart Style Menu

Confluence User - 09 Sep, 2017

Hello people, good night.

For an asset control system we need to develop a small requisition process. What we have designed in the process should behave as a kind of Menu (as a preliminary step to a shopping cart), on which the petitioner chooses (with check marks) the types of items he needs. Is it possible to make this choice and start the process from a list? (this element is the one that best behaves when there are many options, as is the case)

What should happen is that on the list the user chooses the types of elements that he wants to integrate to his request and then in a later window, if this is the case, the quantities are chosen.

menu;lists;cart;forms

4


10 Sep, 2017
confluenceUser
confluenceUser

You can first use the List Grid for end user to make its selections, then configure "Form to Edit Row" to point to the page where users can then edit the quantity.

OR

Use the list grid, then in the subsequent window or page, use Form Grid or Advanced Grid to edit the quantity.

13 Sep, 2017
confluenceUser
confluenceUser

I understand, but I was referring to the Lists, not to the grid list (I think we do not have this element in the community version). I do not know how to do the handling in the List. For example suppose that there are 15 or 20 possibilities: I understand the case when it is only one, since I can point the link to a form sending as a parameter the id of the selection. However, what happens when the user can choose n possibilities ?. How could you pick up that selection to send it to the next form? Is it possible a lower button like the one in the sample to send the selection to the next form?

 

17 Sep, 2017
confluenceUser
confluenceUser

Hi, do you mean to do this?

Once button pressed, it will pass over semicolon deliminated values over to the form.

In the form, you will just need to match the parameter name with the field ID to prepopulate the value into the form field element.

PS: You cannot just expect it to prepopulate because there's no such field that matches the whole string with semicolon included. We need to break the value first.

//use javascript to grab the value from URL
var value = decodeURIComponent("#requestParam.accounts#");
var values = value.split(';');
//loop thru values and set option selected.
16 Feb, 2018
confluenceUser
confluenceUser

Hello Walter, I am implementing the list according to this thread. However, when the number of records in the list is large and the user, for example, wants to filter or sort the records, the selection is lost. Is there a way to preserve the selection in the list despite the filters?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print