My client requires multi-page forms with occasional instances of an audio recorder (javascript/Flash: https://github.com/jwagener/recorder.js). While I realize that I can create an HTML field to manually embed the necessary code, my goal is to create a Custom Form Field which would automate the process. In other words, create a button in the "Advanced Fields" section of the GF Admin labeled "Audio Recorder." When pressed, a new field would be created with the capabilities of an HTML field, and when this field is rendered on the front end a script would run to replace the content of this field with the necessary code to execute the audio recorder.
Does this logic make sense? Am I taking the correct approach? I have followed the guidance offered here:
http://wpsmith.net/2011/plugins/how-to-create-a-custom-form-field-in-gravity-forms-with-a-terms-of-service-form-field-example/
to create the Custom Form Field, but I cannot get this new field to behave like an HTML field. Because it does not behave like an HTML field, GF is not handling the automated content creation correctly. In addition, I am also struggling to predefine the field's label as is done in a standard HTML field.
Any help you can offer would be greatly appreciated. Thanks.