Can I hide the submit button on a catalog item/record producer?

jrusso
Tera Expert

I would like to hide the Submit button on a catalog item when a variable has a certain response.

I have a Yes/No variable that if answered Yes, will display additional variables and allow the user to submit their HR Case.  However, if they answer No, I am displaying a message with a link to take the user elsewhere.  When this occurs, I would also like to hide the Submit button so that they can not submit a case.  Is it possible to do this?  

 

1 ACCEPTED SOLUTION

Hi Jrusso,

you can't hide the button without a UI Macro that manipulates DOM elements. I wouldn't recommend this as it will likely break on upgrade like you've already seen. Better user experience is to still see the 'submit' button but reject the submission with an info/error message.

We tried the DOM manipulation via a UI macro in my business and it led to users raising incidents saying the button disappeared! Always have to think of the lowest common denominator  

View solution in original post

6 REPLIES 6

Hi Jrusso,

you can't hide the button without a UI Macro that manipulates DOM elements. I wouldn't recommend this as it will likely break on upgrade like you've already seen. Better user experience is to still see the 'submit' button but reject the submission with an info/error message.

We tried the DOM manipulation via a UI macro in my business and it led to users raising incidents saying the button disappeared! Always have to think of the lowest common denominator  

OK. Thanks for the advice. That makes sense. Appreciate the guidance.