RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_radRating()

Returns the parent div of the rating field widget.   

Parameters

none

Returns

HTML Element

get_dataFieldName()

Returns developer name for the control.  

Parameters

none

Returns

String

get_value()

Returns the number that the rating field is currently set to. 

Example-Get Value exampe -return the value of the widget as a number.

findControl(".CrmRatingField_C013").get_value();
Parameters

none

Returns

Number

set_value()

Sets the widget to a specified value, depending on configuration. 

Example-Set Value example -set the rating field widget to the provided number.

findControl(".CrmRatingField_C013").set_value(4);
Parameters

set_value()

Returns

set_value()

get_textValue()

Returns the string of the number that the widget is currently set to. 

Example-Get valuetext example - return the value of the widget as a string.

findControl(".CrmRatingField_C013").get_textValue();
Parameters

none

Returns

String

set_textValue()

Sets the widget to a specified string value, which will be converted to an integer.

Example-Set text value example - set the rating field widget to the provided string.

findControl(".CrmRatingField_C013").set_textValue("3");
Parameters

String

Returns

none

enable ()

Enables the control. 

Parameters

none

Returns

none

disable()

Disables the control.

Parameters

none

Returns

none