<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>editableGroup JavaScript API Module</title><link>https://community.telligent.com/community/11/w/api-documentation/65013/editablegroup-javascript-api-module</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>editableGroup JavaScript API Module</title><link>https://community.telligent.com/community/11/w/api-documentation/65013/editablegroup-javascript-api-module</link><pubDate>Tue, 19 Nov 2019 20:27:12 GMT</pubDate><guid isPermaLink="false">ecc65a92-ecac-4407-991c-e1332f9455a5</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/65013/editablegroup-javascript-api-module#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:27:12&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_telligent_evolution_editableGroup" name="jQuery_telligent_evolution_editableGroup"&gt;&lt;/a&gt;jQuery.telligent.evolution.editableGroup&lt;/h3&gt;
&lt;p&gt;The editable group module enables widgets to be validated and edited in groups.  This is how the editable user profile is implemented.&lt;/p&gt;
&lt;p&gt;Note that this API works with the &lt;code&gt;$core_editableGroup&lt;/code&gt; scripted widget extension that exposes methods to simplify registration, retrieving the save script, retrieving the validation script, loading related widgets in edit mode and view mode.&lt;/p&gt;
&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;
&lt;h4&gt;&lt;a id="register" name="register"&gt;&lt;/a&gt;register&lt;/h4&gt;
&lt;p&gt;Registers a widget or script to be edited within a group identified by groupName.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.editableGroup.register(groupName, options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;save&lt;/code&gt;: a function that, when called, should perform the grouped save associated to this registration.  The function can return true or false to identify whether the save was successful or not return a boolean but use the passed in function parameters success and failure to identify success and failure asynchronously.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;validate&lt;/code&gt;: a function that, when called, should perform validation associated to this registration.  The function can return true or false to identify whether the save was successful or not return a Boolean but use the passed in function parameters success and failure to identify success and failure asynchronously.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;a id="save" name="save"&gt;&lt;/a&gt;save&lt;/h4&gt;
&lt;p&gt;Initiates the saving functionality related to the specified groupName.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.editableGroup.save(groupName, options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;success&lt;/code&gt;: a function to execute when all registered save behavior has completed successfully.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;error&lt;/code&gt;: a function to execute when any of the registered save behavior identifies an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;a id="validate" name="validate"&gt;&lt;/a&gt;validate&lt;/h4&gt;
&lt;p&gt;Initiates the validation functionality related to the specified groupName.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.editableGroup.validate(groupName, options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;success&lt;/code&gt;: a function to execute when all registered validations have been successful.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;error&lt;/code&gt;: a function to execute when any of the registered validations have failed.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>