Form field with multiple string or integer inputs

Marcel H_
Tera Guru

I have a group that we've created a custom table and form in our instance for, and they'd like to further customize the form with new fields. One of these requirements is a field, potentially if possible, with multiple string or integer type input boxes. Below is how they've described their need:

  • Items Rendered [NEW]: Enter number of items created/edited. Below are the subfields:
    • Reformatted images (scans, captures)
    • Audiovisual elements (audio, video)
    • Photo documentation (of 3D objects, facilities, etc.)

I don't think that there is an easy solution to this, where there might be several "items rendered" in each of the categories stated for a given task. I thought about perhaps a choice list using UI Policies to display the corresponding integer or string box on the form, but not sure if thee is a good way to display multiple if not empty (I suppose I could create other UI Policies to handle that as well).

If anyone has done something like this, or has any suggestions I'd greatly appreciate it. Thanks!

3 REPLIES 3

bernyalvarado
Mega Sage

Hi Marcel,



Are you aware of the Catalog Table variable?



Thanks,


Berny


Here goes the share link of the catalog table variable:



https://share.servicenow.com/app.do#/detailV2/9a1c883b2b100a00bddaff70f8da153f/overview



Thanks,


Berny


bernyalvarado
Mega Sage

Here goes a recent post on it. The catalog table variable can be found at share; so you can take the code and customize it to your needs.



Catalog Table Variable - fixes and improvements including multiple variables on the one form



Thanks,


Berny