Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is the signup form


dreams3577

Recommended Posts

Posted

Hi all

Where is the signup form, i want to make some changes to it, ie field length, but i can find it,

Does anyone know which file it is and where it is?

thanks

steve

Posted

Well, what does the Address bar tell you when you visit that page?

 

It should tell you about your domain.com/catalog/create_account.php

 

(I'll give you hint: it isn't domain.com OR catalog).

 

In that file there is a statement that reads:

 

require(DIR_WS_MODULES . 'account_details.php');

 

where DIR_WS_MODULES is by default /catalog/includes/modules

 

Therefore, the file that you require is /catalog/includes/modules/account_details.php wasn't that hard was it?

Posted

Well thank you hobbzilla

That was where i got to, but this is what i see there:

         <tr>
           <td class="main"> <?php echo ENTRY_POST_CODE; ?></td>
           <td class="main"> 
<?php
 if ($is_read_only) {
   echo $account['entry_postcode'];
 } elseif ($error) {
   if ($entry_post_code_error) {
     echo tep_draw_input_field('postcode') . ' ' . ENTRY_POST_CODE_ERROR;
   } else {
     echo $postcode . tep_draw_hidden_field('postcode');
   }
 } else {
   echo tep_draw_input_field('postcode', $account['entry_postcode']) . ' ' . ENTRY_POST_CODE_TEXT;
 }
?></td>
         </tr>

What i want to do is limit the number of charaters for this field to only 9 charaters so that people cannot use the 4 digit exsension on there zip code, as i believe that is what is causing the problem with the shipping costs, and so how do i do that within this code?

thanks

steve

Archived

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

×
×
  • Create New...