Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing create_account.php fields


cloud4607

Recommended Posts

Hi all, i need help on how to edit 2 fields in the create_account.php file...

I need to modify the Name field and also the company name field (only the name, like a traduction), i've checked all the create_account files, but the form isn't in these files...

Now, where could it be?

 

PS: Sorry for my english, i'm from italy :)

Link to comment
Share on other sites

Forms in osCommerce are created using the tep_draw_form() function, in create_account.php this is

<?php echo tep_draw_form('create_account', tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"', true) . tep_draw_hidden_field('action', 'process'); ?>

 

However, to change the text labels of the fields, you need to modify the file as @@DunWeb suggested

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...