Replies: 1 comment
-
|
I found the fand and field_id parameter for the child field and how to get the return url. Are there other default parameters to prepopulate fields like category or title? $url = 'index.php?option=com_joomcck&view=form'; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I call a form with some default values?
Example: I want a button an an article full view (section_id=2) to call the form (of section_id=2) with some default field values, so that they are prepoulated already and the return path after saving the record would be the list view of section_id=2.
One of the parameter would be for a child field in section_id=2 to hold the id from the record in section_id=3
index.php?option=com_joomcck&view=form§ion_id=2&type_id=2:test&Itemid=144&return=aHR0cDovL2NhYXBuZXUudGVzdC9pbmRleC5waHA/b3B0aW9uPWNvbV9qb29tY2NrJnZpZXc9cmVjb3JkcyZzZWN0aW9uX2lkPTI6bGljZW5zZSZJdGVtaWQ9MTQ0
how can I create a specific return path and how to integrate some field default values ?
Beta Was this translation helpful? Give feedback.
All reactions