Can I remove "Save & new" button?

Posted by tanagorns@progress.in.th on 22-Apr-2015 23:57

Hi there!!

        In Rollbase Private Cloud.Can I remove  "Save & new" button?(see picture)



Thanks for answer

Best regards
Boy!!

Posted by Chandrasekhar Gontla on 24-Apr-2015 00:58

Hi,

In case of other languages, 'Save & New' button text will be changed. So, we have to modify the above script to indicate the same. Or, we have to have one line of code for each language to work.

And, one more important thing to note.

You can always use dom structure in order to do such kind of operations. But, the dom structure might change across the releases and you have to take care of it.

It would be good if we have an option to show/hide 'Save & New' button. You can raise an enhancement for that.

Hope this helps.

Thanks and Regards,

Chandra.G

All Replies

Posted by Chandrasekhar Gontla on 23-Apr-2015 00:34

Hi,

Yes. You can do that.

Go to the Application's overview (Application Setup > Your Application > More Options > Header and Footer

Add the following script to the footer:

<script>

$('input[value="Save & New"]').hide();

</script>

Thanks and Regards,

Chandra.G

Posted by tanagorns@progress.in.th on 23-Apr-2015 04:02

In case other Language.How do you work it?

Posted by Chandrasekhar Gontla on 24-Apr-2015 00:58

Hi,

In case of other languages, 'Save & New' button text will be changed. So, we have to modify the above script to indicate the same. Or, we have to have one line of code for each language to work.

And, one more important thing to note.

You can always use dom structure in order to do such kind of operations. But, the dom structure might change across the releases and you have to take care of it.

It would be good if we have an option to show/hide 'Save & New' button. You can raise an enhancement for that.

Hope this helps.

Thanks and Regards,

Chandra.G

This thread is closed