-
"Fabrik 4" helpers needed!Dismiss Notice
You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
Set element defaults from URL
-
By defining a custom link for an Add button (to add a new record), you can alter one or more elements' default values by altering the URL's querystring.
So presuming that your form's URL is:
Code (Text):
http://site.com/index.php?option=com_fabrik&view=form&formid=1
Code (Text):
http://site.com/index.php?option=com_fabrik&view=form&formid=1&mydata___name=Rob
Code (Text):
http://site.com/index.php?option=com_fabrik&view=form&formid=1&mydata___ok=1
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM