Changing button text of Upload field

  • Profile Image
    mohammad haghi
    Asked 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>

  • Profile Image
    jonathan
    Answered 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.