What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to add an audio file to a form

    Asked by POME3790 on May 23, 2017 at 01:38 AM

    Is it possible to add an MP# audio file to a form?

  • Profile Image
    JotForm Developer

    Answered by cem on May 23, 2017 at 01:56 AM

    Hey POME3790,

    A default file input field would do the job for you.

    Video in the following page explains how to put a file upload field and configure it:

    https://www.jotform.com/help/29-How-to-Change-the-Allowed-File-Types-in-the-Upload-Field

    You can limit upload type to only mp3/mp4 by changing the required "File Types" property of the file field as shown in the video.

    Thank you for writing us.

    Have a nice day!

  • Profile Image

    Answered by POME3790 on May 23, 2017 at 07:02 PM

    Thanks, however, I don't want the user to be allowed to upload the file, I want to load the MP3 file so that the users can listen to it!

  • Profile Image
    JotForm Support

    Answered by jonathan on May 23, 2017 at 10:02 PM

    You can embed the audio file into the form using the TEXT field. You can add the embed code in the TEXT field.

     

    You can follow the workaround described on this similar thread.

    Here is the demo form https://www.jotform.us/form/40591895535162

     

     

     

  • Profile Image

    Answered by POME3790 on May 24, 2017 at 12:12 AM

    Thanks, Jonathan, but after reading that thread I am more confused than ever. I can see how I can load the field in the text box, I think my challenge is where to get the source code from for the MP3 file I have if you would direct me, please. Many Thanks

  • Profile Image
    JotForm Support

    Answered by liyam on May 24, 2017 at 03:53 AM

    Hello POME3790,

    The Text element provided by Jonathan, is not a textbox field. What this Text element is is an area where you can enter descriptive text or a wall of text information that you want to have on your form, such as narrations, stories, instructions, etc. When adding this Text element, it becomes a text editor like a Word processor that you can style the font of the write-up you have made. You can likewise add images or an HTML code with the link to an audio media like MP3 for it to play music on the form.

    Perhaps we can start it slow. What you need to do first is upload your mp3 file on a website where it can easily be accessed publicly such as your website and provide us a direct link to it so we can provide you a sample code on how it should work.

    Thanks.

  • Profile Image

    Answered by POME3790 on May 25, 2017 at 11:49 PM

    Thanks again everyone for your comments and guidance. I have used the widget and loaded 7 audio files without any issues.

     

    Thanks again

  • Profile Image
    JotForm Support

    Answered by jonathan on May 26, 2017 at 01:01 AM

    Thank you for taking the time updating us on the status and letting us know all is good now.

    Contact us anytime should you need assistance again.

    Cheers