[wdvltalk] Re: an input puzzle - html/php
Smile-Poet wrote: In the book I am trying to 'learn and make' from this is an input line from a sign up form. td align=left valign=topinput id=last_name name=last_name type=text value=?=$_POST['last_name'];? //td I do the same thing. When the form is displayed initially, with a simple link to the script, there are no values in the $_POST array so $_POST['last_name]' is blank and the result is value= When someone fills in the form and posts it back to the script $_POST['last_name'] may have a value. The script should do some error checking for missing input (or whatever else it requires). If something is wrong then the form will be redisplayed but with the user's input for last_name and the other fields echoed. This is much better than the usual instructions to 'go back and complete the form'. Does that make sense? Sheila -- Sheila, The problem is that this (the 'value=' ' entry) appears on the form: ?=$_POST['last_name'];? and similar entries in the other input windows. These do not clear and have to be deleted when the requested detail is being inserted. The script does what you describe and returns the form with a message specifying where the fresh entry needs to be made.But can this be achieved only with the little piece of script turning up on the form when first called? And having to be deleted? In the book the fields are shown blank, but I cannot see anything that I am not copying as instructed. And, although the form code has this input name=req type=hidden id=req value=process and the script has this switch ($_REQUEST['req']) { I get an error message that 'req' is not defined.I mention it because it seems possible the two problems are connected. Joseph The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
- Original Message - From: Smile-Poet The problem is that this (the 'value=' ' entry) appears on the form: ?=$_POST['last_name'];? This means php isn't seeing the page before it's sent to the browser. I bet you are running this on your local PC. And I bet you are double-clicking the shortcut to open it, or just putting the page address into the browser (file://C:/pages/mypage.htm style of thing), or smething instead of browsing http://localhost/mypage.htm, so that when it first shows up it isn't getting processed by the Web server and therefore the php is being seen and displayed by the browser instead of being processed by php. And, although the form code has this input name=req type=hidden id=req value=process and the script has this switch ($_REQUEST['req']) { I get an error message that 'req' is not defined. Looks to me like a dumb mistake by the script author proving (s)he never tested it after writing it.. Should be $_POST['req'] - there is no REQUEST set of variables in php. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
Bj wrote: - Original Message - From: Smile-Poet The problem is that this (the 'value=' ' entry) appears on the form: ?=$_POST['last_name'];? This means php isn't seeing the page before it's sent to the browser. I bet you are running this on your local PC. And I bet you are double-clicking the shortcut to open it, or just putting the page address into the browser (file://C:/pages/mypage.htm style of thing), or smething instead of browsing http://localhost/mypage.htm, so that when it first shows up it isn't getting processed by the Web server and therefore the php is being seen and displayed by the browser instead of being processed by php. The pages need to be .php not .htm in order to be processed by the PHP interpreter. And, although the form code has this input name=req type=hidden id=req value=process and the script has this switch ($_REQUEST['req']) { I get an error message that 'req' is not defined. Looks to me like a dumb mistake by the script author proving (s)he never tested it after writing it.. Should be $_POST['req'] - there is no REQUEST set of variables in php. $_REQUEST does exist. http://www.php.net/manual/en/reserved.variables.php#reserved.variables.request The script is complaining about $_REQUEST['req'] which does not exist the first time through unless you add it to the URL: http://localhost/mypage.php?req=somevalue That's not the best solution. Better would be to test if $_REQUEST['req'] exists and assign a value to a variable based on the result. if (isset($_REQUEST['req']) { $myRequest = $_REQUEST['req']; } else { $myRequest = 'somevalue'; } Then change the switch variable switch ($myRequest) { Note that 'somevalue' needs to be the actual value needed to make the form display empty. I hope all this makes sense. It would be easier to explain with more of the script to look at. Sheila -- Sheila Fenelon http://www.shefen.com/ The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
- Original Message - From: Sheila Fenelon instead of browsing http://localhost/mypage.htm The pages need to be .php not .htm in order to be processed by the PHP interpreter. It's true, I make dumb typing mistakes too, and... there is no REQUEST set of variables in php. $_REQUEST does exist. http://www.php.net/manual/en/reserved.variables.php#reserved.variables.request Pants, and after I looked so carefully through my php help file... Request variables: $_REQUEST Note: Introduced in 4.1.0. There is no equivalent array in earlier versions. Oh well if they're going to keep changing the thing as fast as I learn it... :-/ Time to download a new .chm file I think Sorry Joseph The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
Bj wrote: Request variables: $_REQUEST Note: Introduced in 4.1.0. There is no equivalent array in earlier versions. Oh well if they're going to keep changing the thing as fast as I learn it... :-/ That's one of the annoying thing about learning PHP, it's a moving target. Tutorials and books can go out of date quickly. Sheila The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
Bj wrote ...isn't getting processed by the Web server and therefore the php is being seen and displayed by the browser instead of being processed by php I am calling the form directly (though through the server) so you have sorted that for me -- thank you. And the $_REQUEST -- I had wondered from what I had digested of the manual on this if that might be so.And changing it to $_POST moves the errors on a bit; even got ZA asking if Apache could send emails. As you suggest I am wondering, not so much if it was tested, as if it was rewritten rather than pasted into the book. I have identified things like '.' instead of'';' and things like this $_REQUEST which I haven't yet confidence to challenge. It is possible that it is an adaptation of a set of scripts he describes creating for a phone directory site. If he didn't then test it can be full of errors of course. Thanks Bj, Joseph - Original Message - From: Smile-Poet The problem is that this (the 'value=' ' entry) appears on the form: ?=$_POST['last_name'];? This means php isn't seeing the page before it's sent to the browser. I bet you are running this on your local PC. And I bet you are double-clicking the shortcut to open it, or just putting the page address into the browser (file://C:/pages/mypage.htm style of thing), or smething instead of browsing http://localhost/mypage.htm, so that when it first shows up it isn't getting processed by the Web server and therefore the php is being seen and displayed by the browser instead of being processed by php. And, although the form code has this input name=req type=hidden id=req value=process and the script has this switch ($_REQUEST['req']) { I get an error message that 'req' is not defined. Looks to me like a dumb mistake by the script author proving (s)he never tested it after writing it.. Should be $_POST['req'] - there is no REQUEST set of variables in php. . The WDVL Discussion List from WDVL.COM . To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
Sheila, I am at the stage a bit like the nascent swimmer made to take his feet off the bottom; I've done that and I still can't swim! Hope to do better with this ;-). First the form. This will - I haven't got to it - be called by a php script so the php should be read then. If not 'I'll be back'. I follow the principle of the isset code, but don't yet grasp the code itself. I don't know how much of the script to show you, but here is the first twenty or so lines. I have already needed to set the top variables and have now changed the $_REQUEST back for you to see:: ?php include $_SERVER['DOCUMENT_ROOT'].'/layout.php'; //set some variables $email_error = false; $password_error = false; switch ($_REQUEST['req']) { case process : // code to process signup input and place in database myheader(Become a member: step 2); //Validate all required fields were posted if(!$_POST['first_name'] || !$_POST['last_name'] || !$_POST['email_address'] || !$_POST['email_address2'] || !$_POST['username'] || !$_POST['password'] || !$_POST['password2'] || !$_POST['bio']){ $error = true; $errors = h4Form Input Errors:. /h4\n\n; if (!$_POST['first_name']) { $errors .= Missing first Name\n; } if (!$_POST['last_name']) { $errors .= Missing Last Name\n; } I also came across the point that use of $_REQUEST has security issues, but imagine that is if it is overused rather than used where it is the best option. Joseph Bj wrote: - Original Message - From: Smile-Poet The problem is that this (the 'value=' ' entry) appears on the form: ?=$_POST['last_name'];? This means php isn't seeing the page before it's sent to the browser. I bet you are running this on your local PC. And I bet you are double-clicking the shortcut to open it, or just putting the page address into the browser (file://C:/pages/mypage.htm style of thing), or smething instead of browsing http://localhost/mypage.htm, so that when it first shows up it isn't getting processed by the Web server and therefore the php is being seen and displayed by the browser instead of being processed by php. The pages need to be .php not .htm in order to be processed by the PHP interpreter. And, although the form code has this input name=req type=hidden id=req value=process and the script has this switch ($_REQUEST['req']) { I get an error message that 'req' is not defined. Looks to me like a dumb mistake by the script author proving (s)he never tested it after writing it.. Should be $_POST['req'] - there is no REQUEST set of variables in php. $_REQUEST does exist. http://www.php.net/manual/en/reserved.variables.php#reserved.variables.request The script is complaining about $_REQUEST['req'] which does not exist the first time through unless you add it to the URL: http://localhost/mypage.php?req=somevalue That's not the best solution. Better would be to test if $_REQUEST['req'] exists and assign a value to a variable based on the result. if (isset($_REQUEST['req']) { $myRequest = $_REQUEST['req']; } else { $myRequest = 'somevalue'; } Then change the switch variable switch ($myRequest) { Note that 'somevalue' needs to be the actual value needed to make the form display empty. I hope all this makes sense. It would be easier to explain with more of the script to look at. Sheila The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: an input puzzle - html/php
Time to download a new .chm file I think Sorry Joseph New or old it is still mostly Greek to me :-o. My copy is the up to date one and there certainly is a lot about changes. If I understand rightly the objective is to make this do the job any other script can do, but in plainer English. And the changes are going to come thick and fast. I certainly do not think I would even have attempted anything more difficult. And I am trying to run (limp haltingly) before I can walk. I find your advice very helpful, and even if there is error the discussion of it brings clarity. As I am not at a class I find these discussions a refreshing aid to learning. And a proof that some at least of my fog may be forgiven. Joseph The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] PDF list(s)?
Hi the list Does anybody know of a PDF discussion list where I could float a printing question? I'm getting no satisfaction from Google, AllTheWeb, or Adobe's (fairly user-hostile) fora. thanks Mark The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: PDF list(s)?
- Original Message - From: Krawec, Mark To: [EMAIL PROTECTED] Sent: March 23, 2004 8:23 AM Subject: [wdvltalk] PDF list(s)? Does anybody know of a PDF discussion list where I could float a printing question? I'm getting no satisfaction from Google, AllTheWeb, or Adobe's (fairly user-hostile) fora. Probably someone on this list has an answer, question? cheers, Mark The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: PDF list(s)?
Try this one: http://groups.yahoo.com/group/adobe_official/ AuntySpam http://www.pspug.org/edu/edu.shtml http://www.geocities.com/brewnetty/ http://coastline.cccd.edu/spsd_abi_home.asp http://brewnetty.0catch.com http://www.getrealresults.com - Original Message - From: Krawec, Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 8:23 AM Subject: [wdvltalk] PDF list(s)? Hi the list Does anybody know of a PDF discussion list where I could float a printing question? I'm getting no satisfaction from Google, AllTheWeb, or Adobe's (fairly user-hostile) fora. thanks Mark The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Body of an e-mail?
Hi all, I am doing a website for a local caterer. She wants people to have the option of looking at the menu online and then either faxing, e-mailing or calling in what they want. My question is about the e-mail - is there some way to get the person's order in the body of the e-mail so that they don't have to retype what they want?? TIA, Riva Riva Portman, MCIWD Certified Webdesigner Star Quality Designs www.starqualitydesigns.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Body of an e-mail?
- Original Message - From: [EMAIL PROTECTED] My question is about the e-mail - is there some way to get the person's order in the body of the e-mail so that they don't have to retype what they want?? If you mean - take what they picked from an online form and email it to the business, you could by huge ingenuity do it through Javascript and a mailto: link but it's far easier if you have CGI on the server. Most ISPs even if they don't let you write your own scripts offer a cgi script called formmail that lest you take information the client enters in a form and email that info to a selected address. But this is a bit clumsy and the best way to do it is scripting with Perl, ASP or php. If you mean - can the business take the email the customer sent and use it as data input then that's possible too, if the email is generated from the Web page by a script so it's in a standard format. So... how about some clarification of what you want to achieve, and what facilities and skills you have to work with? (Can you program in Perl. ASP or php, if not does the hosting company offer formmail?) The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Body of an e-mail?
Actually, it hit me after I sent the e-mail that I can just add checkboxes and a form in the code so people can just check what they want and it will be e-mailed to them. (This is a cheap, quick website - I can do Perl but figure a quick form from Bravenet.com would do the trick.) Thank you for replying. Riva On Tue, 23 Mar 2004 21:49:34 - Bj [EMAIL PROTECTED] writes: So... how about some clarification of what you want to achieve, and what facilities and skills you have to work with? (Can you program in Perl. ASP or php, if not does the hosting company offer formmail?) Riva Portman, MCIWD Certified Webdesigner Star Quality Designs www.starqualitydesigns.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] CSS text doesn't look consistent
Hi, I've got a site I built that has links on the left hand side that are coded as font-size: x-small in the CSS. http://www.felicegc.com/ I've had a complaint that from some PCs the text looks smaller, while on another PC it looks to be the default size. What could be causing this? (Both PCs are using IE 6. Also, it looks fine on IE 5.5) Thanks, Dave __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: CSS text doesn't look consistent
Have you looked to see what size the browser uses for its default? When I've been testing sometimes I forget to return the browser to medium and get quite a shock when I was testing something that turned out to have a fixed px/pt size and later open it to a site that uses relative sizing. Suddenly the text is huge or microscopic. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: David Prowak I've got a site I built that has links on the left hand side that are coded as font-size: x-small in the CSS. http://www.felicegc.com/ I've had a complaint that from some PCs the text looks smaller, while on another PC it looks to be the default size. What could be causing this? (Both PCs are using IE 6. Also, it looks fine on IE 5.5) The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] JavaScript Question
Hi all, I was wondering if there is a way to check if a field in a form has been left blank and, if it is, not have it appear on the e-mail (that I get from the form processor.) For example, my code is: td width=5% input type=checkbox name=Butternut Squash Soup value=Butternut Squash Soup size=2 / input name=Butternut Squash Soup quantity type=text size=2 maxlength=5 / /td td width=23%Butternut Squash/td I want people to be able to check the checkbox if they want the item and then put in the quantity in the quantity box. If they don't check the box, nothing for that item comes back on the form. When I get the form back, it has all the quantity items, even if they didn't enter a quantity. Am I making any sense? TIA, Riva Riva Portman, MCIWD Certified Webdesigner Star Quality Designs www.starqualitydesigns.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: CSS text doesn't look consistent
David Prowak wrote: Hi, I've got a site I built that has links on the left hand side that are coded as font-size: x-small in the CSS. http://www.felicegc.com/ I've had a complaint that from some PCs the text looks smaller, while on another PC it looks to be the default size. What could be causing this? (Both PCs are using IE 6. Also, it looks fine on IE 5.5) Thanks, Dave Right away I noticed one of your css classes is incorrect: .navTable { color : #66; font-weight : bold; ; font-size: x-small } You have a semi-colon in front of the font-size. It should be: .navTable { color: #66; font-weight: bold; font-size: x-small; (this ; is optional on the last one) } I think that x-small and smaller font sizes are just too difficult for many people to read. The text is small using 800x600, but at 1024x768 the text is too small to read comfortably. Just my .02 Jan The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: JavaScript Question
sure it can be done [EMAIL PROTECTED] wrote: Hi all, I was wondering if there is a way to check if a field in a form has been left blank and, if it is, not have it appear on the e-mail (that I get from the form processor.) For example, my code is: td width=5% input type=checkbox name=Butternut Squash Soup value=Butternut Squash Soup size=2 / input name=Butternut Squash Soup quantity type=text size=2 maxlength=5 / /td td width=23%Butternut Squash/td I want people to be able to check the checkbox if they want the item and then put in the quantity in the quantity box. If they don't check the box, nothing for that item comes back on the form. When I get the form back, it has all the quantity items, even if they didn't enter a quantity. Am I making any sense? do not put spaces in the form element names (name=Butternut_Squash_Soup) is good. in the form .. tag add something like onSubmit=validate_form() like form name=f1 method=post action=your_url onSubmit= return validate_f1(this); /form now somewhere in the head part put something like script language=javascript function validate_f1(f) { if ( !f.Butternut_Squash_Soup.selected) f.Butternut_Squash_Soup_Quantity.value=''; } put other form elements that u want to check in this function. (NOTE this is untested. check a javascript book to get correct syntax) HTH R'twick The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: JavaScript Question
Thank you - I will fiddle with this in the morning. :-) Riva On Tue, 23 Mar 2004 23:00:19 -0500 R'twick Niceorgaw [EMAIL PROTECTED] writes: sure it can be done Riva Portman, MCIWD Certified Webdesigner Star Quality Designs www.starqualitydesigns.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: CSS text doesn't look consistent
AT 1164 by 868, it looks fine. Al At 3/23/2004 06:59 PM, you wrote: Hi, I've got a site I built that has links on the left hand side that are coded as font-size: x-small in the CSS. http://www.felicegc.com/ I've had a complaint that from some PCs the text looks smaller, while on another PC it looks to be the default size. What could be cau The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: CSS text doesn't look consistent
I thought the IE default size was smaller, not medium? Al At 3/23/2004 08:21 PM, you wrote: Have you looked to see what size the browser uses for its default? When I've been testing sometimes I forget to return the browser to medium and get quite a shock when I was testing something that turned out to have a fixed px/pt size and later open it to a site that uses relative sizing. Suddenly the text is huge or microscopic. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: David Prowak I've got a site I built that has links on the left hand side that are coded as font-size: x-small in the CSS. http://www.felicegc.com/ I've had a complaint that from some PCs the text looks smaller, while on another PC it looks to be the default size. What could be causing this? (Both PCs are using IE 6. Also, it looks fine on IE 5.5) The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: CSS text doesn't look consistent
Medium is the default in IE and all other browsers. However the physical size of medium varies from browser to browser with Netscape/Mozilla usually being smaller than IE. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Tucson-WebDesign - Al Guevara I thought the IE default size was smaller, not medium? The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.