Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating Forms


Guest

Recommended Posts

Hi,

I am creating a FEEDBACK form but when I reiceve the email all informations are in one line like the example below!

 

TESTRING 2TESTING 1YES11/01/[email protected] = ACTValue and Pricing = Excellent

 

Any one know how I can add a <BR> after each section please?

 

I have already added the "<br>s" but it doesn't work!

 

$email_inquiry = ($enquiry .'<br><br>'. $enquiry1 .'<br><br>'. $email_gender .'<br><br>'. $email_newsletter .'<br><br>'. $email_dob .'<br><br>'. $email_email_address .'<br><br>'. $email_country .'<br><br>'. $email_state .'<br><br>'. $email_value ) ;

 

 

Also any idea what is the code for EMAIL drop down menu, like countries?

 

The following (radio, textarea, input & checkbox)works

echo tep_draw_radio_field

tep_draw_textarea_field

tep_draw_input_field

tep_draw_checkbox_field

 

..... BUT (country) doesn't

tep_get_country_list

Do you know what I have to change?

 

I basicaly want to create a drop down menu so they can choose state or country.

 

Many thanks in advance

Mitchell

Link to comment
Share on other sites

Hi,

I am creating a FEEDBACK form but when I reiceve the email all informations are in one line like the example below!

 

TESTRING 2TESTING 1YES11/01/[email protected] = ACTValue and Pricing = Excellent

 

Any one know how I can add a <BR> after each section please?

 

I have already added the "<br>s" but it doesn't work!

 

$email_inquiry = ($enquiry .'<br><br>'. $enquiry1 .'<br><br>'. $email_gender .'<br><br>'. $email_newsletter .'<br><br>'. $email_dob .'<br><br>'. $email_email_address .'<br><br>'. $email_country .'<br><br>'. $email_state .'<br><br>'. $email_value ) ;

Also any idea what is the code for EMAIL drop down menu, like countries?

 

The following (radio, textarea, input & checkbox)works

echo tep_draw_radio_field

tep_draw_textarea_field

tep_draw_input_field

tep_draw_checkbox_field

 

..... BUT (country) doesn't

tep_get_country_list

Do you know what I have to change?

 

I basicaly want to create a drop down menu so they can choose state or country.

 

Many thanks in advance

Mitchell

 

 

Basiscally what I mean by my second question is HOW to add a drop dwon LIST (like states list) to contact_us.php form?

Some one please post me the correct code!

 

Many thanks in advance

Mitchell

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...