Button Plugin javascript code

Status
Not open for further replies.

tansioe

New Member
I am referring to the following link:
http://fabrikar.com/forums/index.php?wiki/button-element/

What form123 is referring to? Is it referring to the Form name? I did try that, but nothing happened?
This is my Javascript line:

var url = Fabrik.getBlock('Tutorial').formElements.get('tutorial___tutorial_entry_1').getValue();
alert(url);

Another thing, this plugin creates database column. Can I remove the database column? Let's say I want to use this button to simply open another link, I don't really need database column. It is just a waste of space. What option should I use to prevent Fabrik from creating a new database column.

Thank you.
 
Hi there change the Tutorial for form_1 change the 1 for you form id

var url = Fabrik.getBlock('form_1').formElements.get('tutorial___tutorial_entry_1').getValue();
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top