Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to make "Requested for" field read only/disable on the Order confirmation 2-step Check Out page?

Raja6
Tera Expert

Hi ,The requirement is to make read only/disable the requested for field in the order confirmation page for a particular catalog item (i.e. it should not affect other catalogs). Please suggest some ideas to implement this functionality. Thanks in advance .

6 REPLIES 6

Hi Any Idea How to make the requested for as mandatory on order confirmation page, I tried like

<label for="requested-for" ng-required="true" ng-mandatory="true" ng-class="{'m-l': c.isNative}">${Requested For}
</label>

 

but no use, can you please help on this

Omkar Mone
Mega Sage

Hi 

For this, you need to clone the Catalog Checkout widget and in the there is a sn-record-picker user which you need to make disabled - 

find_real_file.png

 

sn-disabled="true" instead of the condition provided there.

 

And you need include the cloned widget id in the server script of the SC catalog item 

find_real_file.png

Instead of sc-checkout, give your id that you created by cloning.

 

Regards

Omkar Mone