code: function parsePlaceHolders( divId, str ) {
    //TODO
    var pmd = moduleConfig[ divId ];
    log( "Pong-Form",  "Start value: "+ str );
    if ( pmd.fieldGroups != null ) {
      for ( var i = 0; i < pmd.fieldGroups.length; i++ ) {
        var grp = pmd.fieldGroups[i];
        for ( var j = 0; j < grp.columns.length; j++ ) {
          var col = grp.columns[j];
          for ( var k = 0; k < col.formFields.length; k++ ) {
            var field = col.formFields[k];
            if ( field.type == 'text' ) {
              str = str.replace( '${'+field.id+'}', $( '#'+divId+field.id ).val() );
            }
          }
        }
      }
    }
    log( "Pong-Form", "Processed value: "+ str );
    return str;
  }
docs: replaces ${xyz} in str by the value of the input text field with ID xyz