close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I need to add a text field

Thread began 1/24/2010 4:46 pm by micja | Last modified 1/26/2010 7:29 pm by micja | 864 views | 6 replies

micja

Originally Said By: Dani Chankhour
  The first thing you will need to do is add a text field to your orders_Update.php page.

The second thing is to add it to the email, which you could do with Universal Email or update it manually by updating the shipping_confirm.php page which is located under the WA_Universal_Email folder/Email_Templates folder. and the code you will need to add could be something like this:

<?php if(isset($_POST['customernote'])) { ?>
<p>Note to Customer:</p>
<p><?php echo $_POST['customernote']; } ?>
</p>

assuming you text field is called customernote.  




Okay, so far I have gone into the Admin/orders_update.php and placed the following code after the tracking url field:

<p>
<label for="customernotes">Note to Customer:</label>
<input type="text" name="customernotes" id="customernotes" size="32" />
</p>

I have saved and uploaded the page, then go into the page online through Admin and the field doesn't appear on the page...

I do find an "Invalid markup" at the line: <div class="detailBox"> and the properties box says: Marked invalid because it is an overlapping or unclosed tag. If the display looks correct, it is safe to delete these tags."

The design view does show the Label and the field correctly. It just doesn't seem to upload to the site. I doublechecked my permissions and it is set to 755 for this page.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...