dreams3577 Posted November 6, 2002 Share Posted November 6, 2002 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 Link to comment Share on other sites More sharing options...
hobbzilla Posted November 6, 2002 Share Posted November 6, 2002 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? Link to comment Share on other sites More sharing options...
dreams3577 Posted November 7, 2002 Author Share Posted November 7, 2002 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 Link to comment Share on other sites More sharing options...
hobbzilla Posted November 9, 2002 Share Posted November 9, 2002 see here http://www.oscommerce.com/forums/viewtopic.php?t=26142 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.