Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Add enctype on form
Hi, does anyone know how do i add enctype on the registration. My boss wants me to add an option for them to upload a picture. But i cant copy it to the server because there is no enctype.
And also, I will add a company name in the form, how do i make it that the company name will not be a required field? I have the company but it is currently required.
Please give me ideas on this. Thanks to all
Tagged:
0
Best Answer
-
Aolee ✭✭
hi littlelorly, what kind of form page do you have? is your form in a popup page?
im having trouble with an upload button but in a popup page, getting a javascript error once upload is clicked. but no problem when upload is in normal plain page.
0
Answers
Never mind the enctype, i got it working. Now what i want to know is, how do i make it that the company name will not be required.
How do i do it?
hi littlelorly, what kind of form page do you have? is your form in a popup page?
im having trouble with an upload button but in a popup page, getting a javascript error once upload is clicked. but no problem when upload is in normal plain page.
Hi aolee, no its not a popup page. It's the registration page, i edited it, I added an upload function for the company logo.
But i couldn't make the upload work. It says its a required field even if i have added a file on it.
How do i make it, that the company name and logo, wont be required? Any idea, how?
does anyone has an idea on this? pleasE? badly need a help.
I need the company logo, company name won't be required. please?