Skip to main content
Nintex Community Menu Bar
Question

Clearing a single text control field

  • February 28, 2023
  • 3 replies
  • 308 views

Forum|alt.badge.img+1

How can I clear a single text field of string type with a set value command

Translate
Did this topic help you find an answer to your question?

3 replies

bamaeric
Forum|alt.badge.img+13
  • Apprentice
  • 463 replies
  • February 28, 2023

Just looking for some more details.  Assuming you’re trying to do this in Nintex Forms.

Which version of SharePoint and Nintex Forms are you using?

Are you using the Classic or Responsive forms designer?

Are there any actions or conditions that cause the text field to be cleared?

Translate

Forum|alt.badge.img+1

Which version of SharePoint and Nintex Forms are you using?-SharePoint 2019

Are you using the Classic or Responsive forms designer?- Responsive

Are there any actions or conditions that cause the text field to be cleared?-

When the form is opened I have a default string in a single text mandatory control field that is hidden in a panel control field. The panel is hidden or opened by a Yes\No control which default value is No and hidden. What I want to happen is when Yes is selected by the Panel Control the default string should be removed when the panel opens

Translate

bamaeric
Forum|alt.badge.img+13
  • Apprentice
  • 463 replies
  • March 6, 2023

You can create a rule on the Single Line Textbox control to clear out any text entered into that field. Follow these steps in the Responsive designer:

1. Select the Single Line Textbox control.

2. Click on the “Add Rule” button in the top Ribbon.

3.. Configure the new rule.

  • Rule Name = Clear Information
  • When = Open Panel (Open Panel is the name of the Yes/No control. Click the Formula Button to the right and go to the Names Controls tab to select the control.)
  • Then = Set Value
  • Value = “”  (double quotation marks = empty)

This will empty any value entered or defaulted in the Single Line Textbox control inside the Panel.

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings