Go Back   HTMLCenter Web Development Forums > Web Design and Development > Programming and Scripting
Connect with Facebook

How to include dynamic text in webpage

Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-22-2009, 03:45 PM
Registered User
 
Join Date: May 2009
Posts: 23
How to include dynamic text in webpage

Hi friends,

See I creating Login page to my website. If the user makes some typograpical error(like if it enters '@' a invalid character in login name, then it can be detected by javascript), then dynamic text should come near the text filed.
Eg: 1) In Gmail if we enter wrong Login Id and password, then the feedback is shown "WRONG ID and PASSWORD" instead of showing in some other page.

Whereas in Yahoo if we enter wrong Login Id and password, then the feedback is shown "WRONG ID and PASSWORD" in some ther page.


Eg: 2) Even when we are creating a new email ID, we are asked to enter desired Username. I that provided email Id provided by us is invalid or valid, we are shown a specific message near the respective textfield in red or green color.



I dont want,
  • page should not be forwarded to another page.As it is done in Yahoo.
  • to use Alert() box

I know in my above examples server come and play. But my main question is to display the message in that page next to respective textfield if the error in username or password (typographical errors) can be easily detected at client-side by javascript.

Thanks.

Venkat

  #2 (permalink)  
Old 05-26-2009, 11:07 AM
Registered User
 
Join Date: May 2009
Posts: 23
Quote:
Originally Posted by venkat_walking View Post
Hi friends,

See I creating Login page to my website. If the user makes some typograpical error(like if it enters '@' a invalid character in login name, then it can be detected by javascript), then dynamic text should come near the text filed.
Eg: 1) In Gmail if we enter wrong Login Id and password, then the feedback is shown "WRONG ID and PASSWORD" instead of showing in some other page.

Whereas in Yahoo if we enter wrong Login Id and password, then the feedback is shown "WRONG ID and PASSWORD" in some ther page.


Eg: 2) Even when we are creating a new email ID, we are asked to enter desired Username. I that provided email Id provided by us is invalid or valid, we are shown a specific message near the respective textfield in red or green color.



I dont want,
  • page should not be forwarded to another page.As it is done in Yahoo.
  • to use Alert() box

I know in my above examples server come and play. But my main question is to display the message in that page next to respective textfield if the error in username or password (typographical errors) can be easily detected at client-side by javascript.

Thanks.

Venkat



No one yet has replied.Please help me.
  #3 (permalink)  
Old 05-26-2009, 11:08 AM
Registered User
 
Join Date: May 2009
Posts: 23
Shall i have to HTML or DHTML
  #4 (permalink)  
Old 05-27-2009, 09:37 AM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Like you, on a tiny speck of dust floating in the Virgo Cluster.
Posts: 1,311
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Maybe one of these can help?

[Help] How i can code username is already taken. - MuWeb - PHP AND MMORPG CODING SOLUTIONS
registration form - check if username is taken - PHP
How to check if username already exists using web services
http://www.evolt.org/node/60384
__________________
This field was intentionally left blank.


Wait a minute... oops.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
  #5 (permalink)  
Old 05-31-2009, 03:11 PM
Registered User
 
Join Date: May 2009
Posts: 23

Sorry for replying u so late, and Thanks for taking interest in my post.

I am going through your sites that u gave. But now I am stuck at a new problem which is big.

Can u please look at the post 4970-how-design-show-indian-horoscope-chart-html.html

link is How to design/show indian horoscope chart in HTML


With out this I can't even imagine my website to getting completed.

Can u plz give me any suggestion on that how to approach this problem.

Thanks,

Venkat.
  #6 (permalink)  
Old 06-30-2009, 08:04 AM
Registered User
 
Join Date: Jan 2009
Location: Localhost
Posts: 50
You can create a div section under your login block with an id and when customer submit call a javascript which will check the validation stuffs and if validation fails then display error message using innerhtml option of javascript
__________________
Dedicated Servers - sales@hivelocity.net - 1-888-869-HOST(4678)
Award winning Managed Hosting - Dedicated Server Hosting
Managed Dedicated Servers. Reseller Discounts. 24/7 Impressive Tech Support.
  #7 (permalink)  
Old 07-28-2009, 05:01 AM
Registered User
 
Join Date: May 2009
Posts: 23
Quote:
Originally Posted by HivelocityDD View Post
You can create a div section under your login block with an id and when customer submit call a javascript which will check the validation stuffs and if validation fails then display error message using innerhtml option of javascript
Thanks, for reply,
I solved the problem using flash and actionscript 3.0,

Your method will be helpful for creating printout of horoscope,

Thanks once again
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should be a simple div! text align left, form align right Bad Inferno Programming and Scripting 2 01-27-2009 04:36 PM
Wrapping text around multiple images tpiccirillo Programming and Scripting 1 11-29-2008 02:31 AM
flash - depth of a dynamic text field after creation divx Graphics and Flash 0 06-29-2007 01:17 PM
text wrap in floated div? VaporAction Programming and Scripting 0 06-25-2007 11:22 AM
Complete newbie to Dynamic URLs sirtech Programming and Scripting 3 06-19-2006 07:43 AM


All times are GMT -5. The time now is 05:01 AM.

 
Clicky Web Analytics
CloudContacts
Loop11
Page.ly


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.1 PL1
© 1997-2009 HTMLCenter