Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing a field to "required"


ChrisJChrisJ

Recommended Posts

Is it possible to change a normal field to "required", on the create_account.php page?

 

If so, how, please?

 

Thanks.

 

 

Yes that is possible. You need to define the asterix for being required, add in the top part of the code a query whether the length of the entry is long enough (you'll need to add that info to the configuratuion table), and you'll need to add to the javascript that is looking for missing input: includes/form_check.js.php

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Yes that is possible. You need to define the asterix for being required, add in the top part of the code a query whether the length of the entry is long enough (you'll need to add that info to the configuratuion table), and you'll need to add to the javascript that is looking for missing input: includes/form_check.js.php

 

 

Thanks you for your replies.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...