DBookatay Posted January 17, 2007 Share Posted January 17, 2007 I've seen forms where if you hit submit and any of the required fields were left blank, the field names for each has a message, right on the form. Like "Name" would return: "Please enter your name," and so on...A good example is [url=http://myhosting.com/Contact/Default.asp]http://myhosting.com/Contact/Default.asp[/url]Anyone have any ideas what I mean, or how to accomplise this? Quote Link to comment Share on other sites More sharing options...
fert Posted January 17, 2007 Share Posted January 17, 2007 Javascript Quote Link to comment Share on other sites More sharing options...
Eugene Posted January 17, 2007 Share Posted January 17, 2007 PHP can be used in this situation.<form method="post"><input type="text" name="oh" /> <?=$oh;?><input type="submit" /></form>That was an example of HTML.[code=php:0]<?PHP$oh = (isset($_POST['oh']) && (strlen($_POST['oh'])) > 5) ? 'Please enter more than five characters' : '';?>[/code] Quote Link to comment Share on other sites More sharing options...
DBookatay Posted January 18, 2007 Author Share Posted January 18, 2007 This is <b><u>EXACTLY</u></b> what I want: [url=http://www.formfields.com/FORMgen/examples/xyzcomcontactus.php]http://www.formfields.com/FORMgen/examples/xyzcomcontactus.php[/url]Problem is they want $30 to buy the software to create these forms. Quote Link to comment Share on other sites More sharing options...
trochia Posted January 18, 2007 Share Posted January 18, 2007 And you have a problem buying software?..<laugh> If it works, does what you want EXACTLY...isn't it worth it?:-) Quote Link to comment Share on other sites More sharing options...
DBookatay Posted January 18, 2007 Author Share Posted January 18, 2007 [quote author=trochia link=topic=122891.msg507484#msg507484 date=1169086206]And you have a problem buying software?..<laugh> If it works, does what you want EXACTLY...isn't it worth it?:-)[/quote]You're kidding me right?Have you ever downloaded an mp3, or a movie, or a template? Quote Link to comment Share on other sites More sharing options...
trochia Posted January 18, 2007 Share Posted January 18, 2007 No, I am not...1) no on the mp3, 2) no on the movie 3)template only if offered for free4) I don't pirate ~~5) Install some BB or Chat systems... as you will notice, many of them "do EXACTLY" what you want...kick you back out, hight/change the color...then "pirate" that code .. :-) Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 18, 2007 Share Posted January 18, 2007 So you're not willing to pay for a product you want? Why is software not worth buying, but clothes and food are? Or do you think clothing should be free too. If you can make your own clothing, awesome, if not you should buy it and support the people who can.Get it? Good. Buy the software if it's what you want, or research AJAX and do it your self and value the freaking time it takes. Quote Link to comment Share on other sites More sharing options...
trochia Posted January 18, 2007 Share Posted January 18, 2007 jesirose ,Very well put.. I tried to do it politely...<laugh>Jim Quote Link to comment Share on other sites More sharing options...
rantsh Posted January 18, 2007 Share Posted January 18, 2007 This is a very simple thing to do.G__F__D already gave you the basic reply... Of course, if you can't do it or don't know how to do it you may need someone to assist you, I'm pretty sure you'll find zillion people here who can... (I know I can do it for you cheap, let's say $5 a piece if you need a whole bulk of forms or $20 for one... hehehe).Anyways, You can PM me if you want to hire me ;) I can even do it in ajax if you want to (for a little extra fee).But seriously, follow G__F__D's solution and you'll be fine. Quote Link to comment Share on other sites More sharing options...
DBookatay Posted January 18, 2007 Author Share Posted January 18, 2007 [quote author=jesirose link=topic=122891.msg507494#msg507494 date=1169087381]Buy the software if it's what you want, or research AJAX and do it your self and value the freaking time it takes.[/quote]No my dear jesirose,This is supposed to me a help forum, not a place to bash someone.... I don't want to buy a piece of software because that wont teach you how to do this, it will only do it for you... I learned html years ago, and am now learning php by example! By looking at code and seeing how it works... By asking questions, and usually getting really intelligent answers from extremely smart people who are willing to help, not by buying a piece of software that will do all the coding for me, or by paying someone to do it for me. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 18, 2007 Share Posted January 18, 2007 I offered two options. You said you'll do one, but said No to me. Wait, is this the tri-state boolean?Research AJAX and do it yourself...then when you need help, post for help in the AJAX forum. Thus...LEARNING it yourself. People are more than willing to help, you got several helpful answers, and you brought up the for-sale software and your problem with paying for it.I was bashing you attitude towards pirating software, mp3s, etc. The only piracy I enjoy involves doubloons and men in eyeliner. Lastly, I am not your dear. Quote Link to comment Share on other sites More sharing options...
DBookatay Posted January 18, 2007 Author Share Posted January 18, 2007 [quote author=jesirose link=topic=122891.msg507549#msg507549 date=1169092981]Lastly, I am not your dear. [/quote]I've seen your pics, so I'll hold my comments on that one, only because it has nothing to do with php..! Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 18, 2007 Share Posted January 18, 2007 Do I have to bring my husband in? :-PMootools.net has a great ajax framework. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.