// File field object Zymonic.Field.File = function() {}; // do the inheritance Zymonic.Field.File.prototype = new Zymonic.Field.Field(); Zymonic.Field.File.prototype.constructor = this; //Append to form data Zymonic.Field.File.prototype.appendToForm = function(form_data, search) { // to do this properly need to be tracking all possible input fields via options // and then grab values from those // for now, to keep things simple, just grab all inputs within this // container div, and process as old get_input_params did, as we know that works this.container_div().find(":input:not(input[type=submit]):not(input[type=button]):not(button)").each(function() { // just use get_field_value for now as a quick way to get this working var values = get_field_value($(this).attr('name'), true, ( $(this).attr('type') == 'checkbox' || $(this).attr('type') == 'radio'? true : false )); for (var i=0; i