Pupulating relationship field in stand-alone edit form
This might be unnecessary with latest version of FormHelper. Or might still be neededPlease make sure you have latest version first.
I've extended capabilities of Solspace Form_Helper plugin.
Now you can easily manipulate your custom relationship fields in ExpressionEngine stand-alone edit form.
Please note that you need the Form Helper plugin, that you can . Currently only 'weblog' type of relationship is supported.
Just add anywhere in the plugin body new function:
Usage instuctions:
{exp:form_helper:custom_relationship entry_id="{entry_id}" field_name="summaries"}{/exp:form_helper:custom_relationship}
Note that this tag requires an entry_id.
Example 1
Example 2
Comments
Comments are closed. To get support, email .(JavaScript must be enabled to view this email address).
This is great thanks!
My relationship options were very lengthy, so I added an ‘ORDER BY title’ to the end of your sql query to get an alphabeticised listing of options.
Great article. I really like it. Thanks for information a lot.