How to change name for Upload field in Portal.

niveditakumari
Mega Sage

Hi, 

 

How to change name for Upload field in Portal. I need to change name for Upload field in portal and it allow user to select multiple file and there should be ABC file mandatory, it mean user should select mandatory file('ABC') and upload other file as well. 

Can anyone please help me to achieve that. 

niveditakumari_0-1752138015159.png

 

 

Regards, 

Nivedita 

 

 

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@niveditakumari 

if it's an attachment type variable then it will accept only 1 file.

there is no direct OOTB way to rename that Upload text

You can use onLoad catalog client script and use DOM but it's not recommended.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

GlideFather
Tera Patron

Hi @niveditakumari this is OOTB and core feature, it is recommended not to touch it. Is there any justification why shall it be renamed?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


View solution in original post

5 REPLIES 5

Pankaj kr
Kilo Sage

Hi @niveditakumari ,

 

You can use the on change catalog client script for validating if the attached file's name is complying with your requirement or not. However, changing the "upload" text requires DOM manipulation and it is not recommended, but still if you want to go that way, you can use OnLoad client script and target the DOM and change it's inside text.

 

Please mark this as helpful and accepted if it helped you.

 

Thanks,

 

Pankaj Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

@niveditakumari 

if it's an attachment type variable then it will accept only 1 file.

there is no direct OOTB way to rename that Upload text

You can use onLoad catalog client script and use DOM but it's not recommended.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@niveditakumari 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

GlideFather
Tera Patron

Hi @niveditakumari this is OOTB and core feature, it is recommended not to touch it. Is there any justification why shall it be renamed?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */