Closed (fixed)
Project:
YAML Form
Version:
8.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Oct 2016 at 12:52 UTC
Updated:
23 Nov 2016 at 06:04 UTC
Jump to comment: Most recent
Comments
Comment #2
jrockowitz commentedFeatures like this would have to come from third party libraries integrated using a contrib module.
We can look around the web and Drupal and see how people are implementing these types of widget.
Comment #3
jrockowitz commentedI think the manage_file upload element can be easily enhanced to use HTML5 capture attribute.
I need to think about the best way to implement this feature. Might make sense to create dedicated ImageFile, VideoFile, AudioFile elements with custom formatting.
I think a stopwatch element is too specific and not something that the core YAML Form module should support.
Comment #4
jrockowitz commentedThe latest dev release includes #2823627: Provide dedicated video, audio, and image file upload with media capture., which support native mobile integration for video, audio, and image file uploads.
I now realize that the "stop watch" feature you are looking for is more like integration with software like Google Analytics which can track how long it takes a user to complete a form. Form analytics and tracking should be handled in separate contrib module.
Below are some D7 module that are tracking form submission.
Comment #5
Shaunikm commented@jrockowitz: Thank you for the explanations and work arounds. Correct me if I am wrong, but can YAML form accept native HTML form fields or we'll need to create custom field with these HTML attributes. Re: Stopwatch, I was essentially looking for timer as part of form field to record time of some other activity (not form filling) and recorder can start timer, stop and resultant can be added to form field.
Thanks for work with the plugin.
Comment #6
jrockowitz commentedYou can add custom attributes to native HTML form fields as well as create custom form elements. Are there any specific attributes that you are looking for?
For a stop watch/timer you would need to create a custom form element. (See #2823997: How to add custom Form elements)