This will return a ko.pureComputed that will return the formatted field HTML ELEMENT id
Parameters:
Name | Type | Description |
---|---|---|
Field |
Object | Field settings object |
- Source:
Returns:
The formatted id
- Type
- String
Example
var field_stub = {
key: '10',
name: 'm4yRand0mN4m3'
};
//returns "field_10_m4yRand0mN4m3
makeFieldId(field_stub);
Requires
- module:knockout