Empty all controls on a view at once?

  • 13 April 2015
  • 2 replies
  • 0 views

Userlevel 3
Badge +16

Hi,

 

I have a Radio Button List, which i've setup on a rule to Show and Hide Views depending on choice.

However i want to empty all the values in the View I hide.

 

Is there a single command that can empty (change to default null) rather than having to empty each control on the view?

 

Thanks


2 replies

Userlevel 1
Badge +8

Hi Sharpharp1

 

You should be able to use the view's Clear method (In the Actions page select Execute a View Method and select Clear) to acheive this.

 

If you only want to clear selected fields (i.e. not all) then you can use the Transfer Data statement and check the fields you want to clear.

Userlevel 3
Badge +16

Thanks, Clear Method works nice, saves doin each field manually.

 

Nice one

Reply