Javascript in a Form ?

Status
Not open for further replies.

Incremental

Member
Hi,
reading the Wiki
http://fabrikar.com/forums/index.php?wiki/form-javascript-objects/

The way form JS is handled has changed in Fabrik 3.x. To interact with a Fabrik form you now add event listeners in your custom Javascript files.
Could somebody detail more the Wiki ???
How to add event listeners in your custom Javascript files ???
Where to put this code ???
Does it mean templating ? as I was adviced in the forum to stick to regular interface I would like to avoid it.
F2.0 Javascript Form plugin was fine...

Ideally I would redirect the browser to a page when closing my Form.
Thanks for help
 
Where to put this code ???
http://fabrikar.com/forums/index.php?wiki/javascript/
States where to locate the js files and the filenames to use.

How to add event listeners in your custom Javascript files ???
http://fabrikar.com/forums/index.php?wiki/form-javascript-objects/

Does it mean templating ?
No, as the files are tied to the form/list id and not the template used.

Ideally I would redirect the browser to a page when closing my Form.
I'd use a redirect form plugin then?
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top