# WPS.Control.ToggleWpsForm

Switches WPS form on and off

#### Inherits from

- <Legato.Control>

Summary

WPS.Control.ToggleWpsForm | Switches WPS form on and off
Functions |
activate | Invoked when the control is activated in toggle mode
deactivate | Invoked when the control is deactivated in toggle mode
wpc:ToggleWpsForm | XML based config for a WPS.Control.ToggleWpsForm.

### Functions

### activate

> activate: function()

Invoked when the control is activated in toggle mode

### deactivate

> deactivate: function()

Invoked when the control is deactivated in toggle mode

## wpc:ToggleWpsForm

XML based config for a WPS.Control.ToggleWpsForm.

#### See Also

- <Legato.Control>
- <Legato.Beans.BeanFactory>
- <QName>

#### A valid config example for a ToggleDiv would be

>     <lwpsc:ToggleWpsForm>
>     <form>
>     <lb:Reference target="WpsForm" />
>     </form>
>     </lwpsc:ToggleWpsForm>

> activate: function()

Invoked when the control is activated in toggle mode

> deactivate: function()

Invoked when the control is deactivated in toggle mode
Switches WPS form on and off