how can i remove the back function when editing the form ?

Confluence User - 23 Oct, 2024

Hi i have a system where it will open the form and redirect the user to different form 
however when the user is clicking the back button on that form it is directing him to the list of that form 
which I dont want the user to see 

basicaly my question is 


can i remove the back button ??

the save button i already made sure it to redirect him to the place i want using the function available 


but there isn't and Action to perform after back 

i found the place where i can rename the back button into anything but i didn't find the place to actually remove it 
or is it impossible ?


forms;back

3


23 Oct, 2024
confluenceUser
confluenceUser

By using CSS You can control the button.

button#back { display: none; }

If it's required only for page . You can add it in customhtml.

For entire application you can add it userview custom CSS or settings custom css

23 Oct, 2024
confluenceUser
confluenceUser

May I know where should i be placing that code?
because i tried to put in customhtml it doesn't work 

maybe can you show me the screenshot

23 Oct, 2024
confluenceUser
confluenceUser

Hi Tarek, 


if you want to hide the back button for only that form then add a custom html field in the form and paste the following code:


<style>
    #cancel {
    display: none !important;
}
</style>


In the above code cancel is the ID of the button and we are selecting it based on ID using #cancel and applying CSS changes to it. You might want to check the ID of the button and change it accordingly based on the buttons you want to hide / show. 


Additionally if you wish to hide this button for all forms you need to put the same code in your ui builder → Settings → Find custom css and put the code without the style tag. Hope this helps. 




RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print