Variable number of inputs

Variable number of inputs

  

Hi.

I wanted to know if it was possible for a web block or server action to have a variable number of inputs.

For instance, in case a customer wants to add multiple add ons. So, the user will be asked the number of inputs, and then have to enter that many inputs.

Thanks!

Solution

Hi Sircar,

Did you try a list?

regards,

A

Solution

Hi Saurav,

I think you can not create variable no of input variable but you can do one thing you can create maximum number of input variables and put them Is Mandatory False and pass the values which are required for you as per bussiness.


Reagrds

-SK-

Hi Saurav,

As A said list is the way to go.

Regards,

Marcelo

Anonymous wrote:

Hi Sircar,

Did you try a list?

regards,

A

Worked out great.

Thank you!