Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501
AIEDAM - ZAPSupport-Tutorials - LinkSubmitForms

Tutorials Support > Tutorials > LinkSubmitForms

Another exciting addition to ZAP in the latest release was a ZAPlink markup that allows you to create links that trigger ZAP forms. In the example below, two links are created, each executing it's own ZAP form--in this case toggling a value from one value to another.

Value: RED

Green |

Red

Value: {$:toggle}
(:table:)
(:cell:)
(:zaplink key=green label='Green':)
(:zap toggle="%green%GREEN%%" green:)
(:zap savedata="toggle" green:)
(:cell:)
(:zaplink key=red label='Red':)
(:zap toggle="%red%RED%%" red:)
(:zap savedata="toggle" red:)
(:tableend:)

To create a ZAPlink, simply use the ZAPlink markup and identify a key. Any ZAP input fields with that key will be processed!

You can have as many links as you want, each one connected to it's own ZAP form, and you can have those ZAP forms do anything a regular ZAP form would (except accept input from POST variables). The new link format offers many exciting possibilities!

Note the links must be created on the wiki page to set the proper security session variables, and enable the form to be triggered. That is, you cannot just enter a URL into a browser and execute a form. (See Auto Submit Forms however).