Need Help to change input type the value?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

EdeniTX
Forum Newbie
Posts: 17
Joined: Fri Jun 13, 2014 5:55 am

Re: Need Help to change input type the value?

Post by EdeniTX »

I placed that code after the form fields outside the form last section of the form? But it displays the whole code on page at the bottom i am not doing it the way you saying to do it i am doing something wrong.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Need Help to change input type the value?

Post by Celauran »

Does the file have a .php extension? Is PHP set up on your server? Generally try to keep any PHP at the top of the file.
EdeniTX
Forum Newbie
Posts: 17
Joined: Fri Jun 13, 2014 5:55 am

Re: Need Help to change input type the value?

Post by EdeniTX »

No is all html even the form.

MAIN PAGE TOP
Image

Form
Image
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Need Help to change input type the value?

Post by Celauran »

That's definitely part of the problem. PHP isn't going to process an HTML page. Change the extension to PHP and it should start processing the form.
EdeniTX
Forum Newbie
Posts: 17
Joined: Fri Jun 13, 2014 5:55 am

Re: Need Help to change input type the value?

Post by EdeniTX »

I opened a new in Expression Web 4 PHP page i want to start the form from scratch again but in separate page php so i can create form there and then add it in my html page. Will that fix the problem?
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Need Help to change input type the value?

Post by Celauran »

Seems unnecessary, but I see no reason it wouldn't work.
EdeniTX
Forum Newbie
Posts: 17
Joined: Fri Jun 13, 2014 5:55 am

Re: Need Help to change input type the value?

Post by EdeniTX »

So you saying that would not work. :(
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Need Help to change input type the value?

Post by Celauran »

No, I said I expect it will work
Post Reply