Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add new email forms?


Guest

Recommended Posts

Hi,

 

We need to allow users to register for certain things (book fairs, contests, etc.), and so we need serveral different email forms that will collect different data about the visitor.

 

How would we do that with oscommerce. I've looked over contact_us.php and was a little lost. What files exactly are involved in processing that form? How would I duplicate it with new fields?

 

Thanks!!!

Link to comment
Share on other sites

Take a look at my recent Wholesale Inquiry contribution. It should give you all the information you need to have similar pages (it's just an adapted contact_us).

 

-jared

Link to comment
Share on other sites

Thanks so much!! This looks like just what I was looking for!

 

 

Take a look at my recent Wholesale Inquiry contribution.  It should give you all the information you need to have similar pages (it's just an adapted contact_us).

 

-jared

Link to comment
Share on other sites

The Wholesale Inquiry contribution was great...it really helped me get a better idea of adding filenames and such.

 

One thing though...how would I go about putting a dropdown list in the form?

 

Thanks!!

Link to comment
Share on other sites

Dani,

 

The proper osC way to do it would be to use the tep_draw_pull_down_menu function. If you use something like Crimson Editor, you can search the downloaded osCommerce 2.2 MS2 code to see the function definition and examples of how it's used.

 

The *quick* way to do it is to follow the examples here: http://www.htmlcodetutorial.com/linking/li...amsupp_114.html .

 

Take your pick. :)

 

Enjoy!

 

-jared

Link to comment
Share on other sites

Jared,

 

MANY THANKS! I looked through code as you suggested and got the tep_draw_pull_down_menu function working. :)

 

Thanks again!!

 

- Dani

 

Dani,

 

The proper osC way to do it would be to use the tep_draw_pull_down_menu function.  If you use something like Crimson Editor, you can search the downloaded osCommerce 2.2 MS2 code to see the function definition and examples of how it's used.

Link to comment
Share on other sites

Since it's one of the more recent ones, you can get it by clicking "My Contributions" under my username, just to the left of this post.

 

-jared

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...