I have a 2010 form that shows two close buttons when it is open in display mode:
I do have a save button and a save and submit button (the save and submit button is set to not show on the ribbon), are these showing because of that?
How do I only show one of these?
Solved! Go to Solution.
Yes, it is taking the default settings. Click on your buttons in the designer, in the Control Settings for each button you can expand the properties for "Ribbon". You will see these settings to change how it appears in the ribbon.
|Show on Ribbon||Show this button on the Ribbon toolbar (if available) in addition to the form.|
|Ribbon icon URL||If shown on the Ribbon toolbar, specify the URL of the icon (32x32px) to use.|
|Ribbon button order||Determines the order in which buttons will appear on the ribbon toolbar.|
|Ribbon button group name||The name of the Ribbon toolbar group to display the button.|
Just set one of them to not appear in the ribbon.
if you set your save button to not appear on the ribbon as well, are both buttons gone? Is it only in preview mode or did you already publish your form?
However, you should be able to use additional CSS to hide one of these buttons. Use your browsers developer tools to inspect the DOM and find some class/id/structure you can use as a selector to find your button, then simply hide it.
Doh I feel like an idiot...because I had two sections (one that only shows for certain criteria) to the form I also had 2 save buttons AND 2 Cancel buttons...hide one of the cancel buttons and it went away...Thanks Andrew and Philipp for your input!