Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Mobile Marketing (https://www.warriorforum.com/mobile-marketing/)
-   -   jquery mobile contact form.... (https://www.warriorforum.com/mobile-marketing/470022-jquery-mobile-contact-form.html)

JBroyer44 14th October 2011 12:14 PM

jquery mobile contact form....
 
Hey guys,

I am building my pool companies mobile site in jquery mobile but having a hard time adding a good working contact form. I have tried a couple tutorials but they are not very good, missing code and such.

I basically built my site merging Warriorben's free html template with jquery mobile framework and it is awesome but instead of having 'tap to email' function i thought it would be better to have a contact form just in case the visitor does not have an email set up on their device.

Anyone have any ideas or links they could send my way?

Thanks

dollarware 15th October 2011 01:58 PM

Re: jquery mobile contact form....
 
Take a look at this page. I have not tried it but it looks pretty complete.
Creating a Contact Form in jQuery Mobile and PHP - Web Development Blog

John

Nail Yener 15th October 2011 11:09 PM

Re: jquery mobile contact form....
 
JBroyer44: I have no idea about jQuery but I did some simple contact forms for mobile sites with PHP. Here is one example:

Code:

http://mobile.melekapart.com/rates.php
This one looks as simple as it can be but it can be styled with CSS to look better. If something like that works for you, I can help you with the code.

JBroyer44 17th October 2011 03:18 PM

Re: jquery mobile contact form....
 
hey Hohn, tried that tutorial and could not get it to work for some reason.

Neil that is very clean and simple. I guess my problem comes form the php and getting the submit to go through. I can code up a form and have it looking right on the page but can not get it to submit...I don't really know php too well and I think that is the problem as I am relying on code someone else on a tutorial wrote.

Thanks,

-Jay

Always-A-Warrior 20th October 2011 12:39 PM

Re: jquery mobile contact form....
 
Quote:

Originally Posted by Nail Yener (Post 4879690)
JBroyer44: I have no idea about jQuery but I did some simple contact forms for mobile sites with PHP. Here is one example:

Code:

http://mobile.melekapart.com/rates.php
This one looks as simple as it can be but it can be styled with CSS to look better. If something like that works for you, I can help you with the code.

can you display the code please?. Thanks.

Njenyus 21st October 2011 12:10 PM

Re: jquery mobile contact form....
 
For contact forms, I use a different document. Don't use the same jquery mobile [data-role="page" id="contact"] format. Take that contact form and make it into another page. In your form, your action should link to the contact form.

JBroyer44 25th October 2011 10:27 AM

Re: jquery mobile contact form....
 
Njenyus i will try that....I like the ajax app like transitions of the data-role function but if the forms work better as a separate doc then it is what it is.


All times are GMT -6. The time now is 07:33 PM.