Is there a way to select multiple dates in a Catalog Item (Record Producer)?

peterraeves
Mega Guru

For example if the user needs to select 15 dates in a record producer on the service portal, is there a better option than to have 15 date fields?

2 REPLIES 2

Gaurav Bajaj
Kilo Sage

Hi Peter



I would suggest you create two fields.


1) Date field-   where you will select the date.


2) SIngle line text - which can store the comma-separated list of all the dates.



You can write onChange client script on date field that whenever it changes, you can pick the values and append it to the list of dates in the string field.



There could be a better solution for it but that's all i can say for now.



Thanks


Gaurav


Kalaiarasan Pus
Giga Sage

I do not remember if catalog table variable works for portal. You can search that on Share site.


Next, you can extend Gaurav's suggestion and try using Bootstrap's tag input to get a better visual experience.



You might need to import some files to provide support for this.



Bootstrap Tags Input



Note: I am not a UI expert. So I might not be able to help more on this.