Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2008
    Thanked 0 Times in 0 Posts

    Javascript to print variables if file upload left empty

    I have a pretty basic form that users enter 2 numeric fields in plus a browse button/image upload field.

    When filled in it opens a frame application with the image showing to the proportions of the sizes entered - this all works fine.

    If the file upload field is left blank the application opens with a blank space where the image would be.

    What I would like instead of the blank white space is the size variables to be used to create the image, i.e. if user enters 20 and 16 in the two size fields and leaves the file upload box blank the application opens and where the image should be 20" X 16" is printed.

    any pointers as to where I should begin??


  • #2
    Regular Coder kosstr12's Avatar
    Join Date
    Apr 2007
    Woodstock, Georgia
    Thanked 5 Times in 5 Posts
    So you're saying whatever dimensions they enter it will search their computer for an image with those dimensions?


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts