![remove text form field word 2013 remove text form field word 2013](https://support.content.office.net/en-us/media/1b2d55f7-54e6-4baf-9215-76d118413d75.png)
There are three rules needed for the desired behavior. Type something in it (like “This is my section to be shown or hidden”) so that we can, so that we can test/witness the show-hide functionality later. In the editor space a few times or hit enter for a line break after the button and then insert a section control (same way as inserting the button control, except choose section). Change the font to Webdings and the size to what you want.
![remove text form field word 2013 remove text form field word 2013](http://www.addbalance.com/usersguide/images/MacroButtonContentControlCompare.jpg)
Now you see a button that says “6.” Once again right click the button to bring up the text formatting dialog. This will bring up the Select a Field or Group window. In the Insert Formula window, click the Insert Field or Group button at the bottom left. To do so, click the Insert Function button next to Label. We’ll set the Label to the Field HideShowButtonText we created earlier. Make the ID something that makes sense like hideShowButton. Under the first tab, General: Leave the Action set to default (Rules and Custom Code). Right click the button and choose Button Properties. Under the Borders tab and under Presets, simply click None under the Shading tab, simply choose No color. If you want to do this, right click the button and choose Borders and Shading. Once you’ve done so, you can optionally get rid of the border and color of the button, so that we just see the symbols chosen at the beginning. You can achieve this by finding the Button option under Controls in the middle-left of the HOME ribbon. Starting from an empty form editor, place a button. Leave everything else alone and click OK. Leave Type and Data type as default (Field (element) and Text (string) respectively). This is exactly what this field is going to be, the text for the button which toggles hiding or showing a section. Click Add Field at the bottom of the Fields task pane under Actions.Ĭhoose a name that makes sense like HideShowButtonText. The elements that need to be created in the form using InfoPath Designer are a field, button, section, and a few rules to govern the behavior we want. Paste in Notepad to get the keys you will type in InfoPath to get these button symbols.įor this example, note to get the symbol I want to use when the section is shown I type a “6” in InfoPath and make the font Webdings. Do this for both symbols, then click the Copy button. With the symbol highlighted, click the Select button. In Character Map, choose the font and symbols you want to use. Pick out the symbols you want then determine what key to actually type to get that symbol. I’ll be using the Webdings font with character 0x34 for when the section is currently being shown and 0x36 for when the section is hidden. The toggle button which will show/hide a section is just a normal character in a special font like Webdings. Character Map is one folder deeper in Accessories > System Tools. In addition to InfoPath Designer, open Notepad and the Character Map as well. To show the Rules task pane, click the Manage Rules button at the far right of the HOME tab on the ribbon. To show the Fields task pane, click the Show Fields button at the very left of the DATA tab on the ribbon. In InfoPath Designer, we want to make sure we can see the panes for Fields and Rules on the left.
#REMOVE TEXT FORM FIELD WORD 2013 WINDOWS 7#
Windows 7 OS, InfoPath Designer 2013, Character Map, Notepad Preparation