navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Forms:html code for 'required fields'

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Forms:html code for 'required fields'
Page: [1]
 
spinningjennie

 

Posts: 309
Joined: 2/20/2002
From:
Status: offline

 
Forms:html code for 'required fields' - 10/19/2003 22:52:28   
Background to problem:I thought I was successful in making a field on an online intranet form a 'required field' - that is, when someone completed the form I created, there were some fields that were mandatory.

Method I used:

1. Right clicked on the input field
2. Selected Form Field Validation
3. For Data Length, ticked 'required'

The html code that resulted was:

<!--webbot bot="Validation"
B-Value-Required="TRUE" --><input type="text" name="firstname" size="40">


Problem that resulted:

When the new form with 'required fields' was uploaded into the company's Web Content Management system (Merant Collage), then the form could not be successfully submitted by a user any more.

Questions:
1. Do you think that the html code above should work? (Perhaps the problem is with the way Collage handles this code).

2. Do you know of alternative code that I could try to create required fields (eg javascript)?

Many thanks for considering this problem!

Regards, spinningjennie
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Forms:html code for 'required fields' - 10/20/2003 11:41:44   
What you're seeing is not technically html code... it's a call for a Front Page webbot that checks and validates your form field.

The form may not work properly if you did not use the "Publish" function in Front Page (ie, used FTP instead) or the server running it doesn't support Front Page webs.

There is JavaScript that can validate form fields (also ASP, PHP, Perl)

Try checking sites like www.hotscripts.com you'll probably find what you need there.

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to spinningjennie)
Nancy

 

Posts: 3626
Joined: 11/9/1999
From: Nebraska
Status: offline

 
RE: Forms:html code for 'required fields' - 10/20/2003 12:54:13   
Here's another link that may help.

http://javascript.about.com/library/scripts/blformvalidate.htm

Nancy

_____________________________

Easy Estimates -- is a simple to use tool to quickly build a Web site page enabling visitors to quickly and easily create an estimate of the cost of services that you provide.

(in reply to bobby)
spinningjennie

 

Posts: 309
Joined: 2/20/2002
From:
Status: offline

 
RE: Forms:html code for 'required fields' - 10/21/2003 3:46:50   
Thanks so much Bobby & Nancy!
I'll try these links.

spinningjennie

(in reply to spinningjennie)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Forms:html code for 'required fields'
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts