Find Jobs
Hire Freelancers

jQuery/Javascript/PHP scripts to allow for text to be entered into various form fields based on the width of the fields not the number of characters.

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
jQuery/Javascript/PHP scripts to allow for text to be entered into various form fields based on the width of the fields not the number of characters. We have created several different form templates allowing users to pull up a product template image, containing default product text, customize the form input by modifying the product text, then submitting the form to a customized PHP script containing a modified version of tFPDF. The output will place their custom text into specific fields on each product image. The problem is, we need the text for each form field to be based on the width of the field not the number of characters. For example, there is a vast difference in potential field size depending on the specific characters entered into each field: “XXXXXXXXXXXX” is vastly different in size as compared to “iiiiiiiiiiiii”. We want the customer to be able to use the entire width of the field. Each product may include one to ten form fields; each uniquely placed within a template. We are using UTF-8 with a Server Side True Type Unicode font called [login to view URL], supporting multiple languages. Submitted scripts must work on all forms/form-fields regardless of the location of the field. Submitted scripts must allow for character submission/validation using up to, but not exceeding, the full width of each field. Scripts will be run on an Apache webserver including PHP 5.2.17. Bottom line: we need a script that will allow a user to take full advantage of the width of a form field without regard to the number of characters submitted. If the field is 170 pixels wide a user should be able to use up to the entire 170 pixels width without going beyond. If the field is 30 pixels wide a user should be able to use up to the entire 30 pixel width without going beyond. Ideally the validation should first be done with JavaScript then PHP validation on the backend. We are open to consider alternatives if we pre-approve them first. We need this script tested and complete by August 29, 2013. If necessary we can show samples of some of the templates we will be using. We will only consider bidders who have a full grasp/understanding of the project and technologies needed to complete the project.
Project ID: 4856192

About the project

9 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I can do this modification for you. I intend to measure the text with for the current input on each change and compare it to the input's width to determine whether to allow or not the input. This validation of text length based on input size makes sense on the client side, but on the server side is not feasible as there is no access to client's DOM. The server side may perform required field validation or specific formats validation such as phone number or email format. Using jQuery this can be made as a helper function and applied for all inputs with a specific style, which means minimal changes will be performed on the HTML code. All I require from you are the templates you have developed so I may add the JS code and style class additions. Looking forward to your feedback. Regards, Alex
$160 USD in 1 day
5.0 (3 reviews)
2.7
2.7
9 freelancers are bidding on average $167 USD for this job
User Avatar
Hello Sir, I've read your requirements and can provide JavaScript/jQuery solution. Please, join me on chat for detailed Q&A.
$150 USD in 6 days
5.0 (50 reviews)
6.3
6.3
User Avatar
Hi, I have rich experience in building websites and work full time in freelancing. I am very much interested in taking this project. Please contact with more details so that we can proceed further. Thank you, Regards, Eswar.
$144 USD in 3 days
4.8 (76 reviews)
6.5
6.5
User Avatar
I have just prepared working client and server side code snippets for your problem.
$100 USD in 1 day
4.8 (15 reviews)
4.1
4.1
User Avatar
Greetings! Kindly check your inbox. Thanks,
$155 USD in 6 days
4.4 (7 reviews)
4.1
4.1
User Avatar
I expert jQuery/Javascript/PHP. we can discuss
$147 USD in 6 days
3.4 (28 reviews)
4.5
4.5
User Avatar
I can start the working immediately.
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello Sir, I want this project i know i can do this in your time deadline by 29 th august. plz discuss witm me through PM plz check pm Thanks
$249 USD in 6 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Prescott, United States
5.0
25
Payment method verified
Member since Aug 23, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.