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

    Changing button text of Upload field

    Asked by mohammad haghi on November 02, 2014 at 03:30 PM

    please see my idea:

    <!--upload file-->
    <div style='width:300px; height:20px; direction:rtl; border:solid 1px silver; border-radius:2px;'>

    <div style='width:80px; height:20px; background-color:#f5f5f5; border-left:solid 1px silver; font-family:tahoma; font-size:12px; text-align:center; '>

    <span>انتخاب</span>

    </div>


    <div style='width:80px; height:20px;  position:relative; top:-20px; opacity:0; filter:alpha(opacity=0);'>

    <input  type='file' style='width:78px;  height:20px;' onchange='up(this.value)' />

    </div>


    <div style='width:220px; height:20px;  position:relative; top:-40px; left:-80px;  '>

    <input id='uprl' type='text' style='width:218px; border:none; direction:ltr; ' readonly='readonly'>

    </div>


    </div>
    <!--end upload file-->

    <!--script code for change url into input text for see user-->

    <script>

    function up(url)
      {
      document.getElementById('uprl').value=url;
      }

    </script>

    upload field
  • Profile Image
    JotForm Support

    Answered by jonathan on November 02, 2014 at 03:34 PM

    Hi,

    I suggest you also create your jotform account using this link http://www.jotform.com/signup

    Afterwards, please provide us more details on what exactly is your inquiry was about.

    Was the code you provided supposedly will change the style of the Upload field button?

    We will wait for your updated response.

    Thanks.