Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: web store

$
0
0
Re: web store
West Wind Web Store .NET
Re: web store
Apr. 2, 2013
07:03 pm
3R314UPQNShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:rossrooker
Ross,

The long description field is meant to be text not HTML and auto-expands line breaks. It does parse some basic HTML tags, but it will also add line breaks between many elements. IOW, this is not an ideal way to get complex content in there unless you mostly use text with a few tags. Tables in particular are tricky because there are so many HTML tags all of which incur the extra space.

There's really no good workaround for that short of you adding a separate field or maybe adding a flag that tells whether the text is plain text or HTML.

+++ Rick ---



AS an example I pasted this code into the Detailed Description:

<table width="450px">
</tr>
<tr>
<td valign="top">
<label for="first_name">First Name *</label>
</td>
<td valign="top">
<input type="text" name="first_name" maxlength="50" size="30">
</td>
</tr>

<tr>
<td valign="top"">
<label for="last_name">Last Name *</label>
</td>
<td valign="top">
<input type="text" name="last_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="email">Email Address *</label>
</td>
<td valign="top">
<input type="text" name="email" maxlength="80" size="30">
</td>

</tr>
<tr>
<td valign="top">
<label for="telephone">Telephone Number</label>
</td>
<td valign="top">
<input type="text" name="telephone" maxlength="30" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="comments">Comments *</label>
</td>
<td valign="top">
<textarea name="comments" maxlength="1000" cols="25" rows="6"></textarea>
</td>

</tr>
<tr>
<td colspan="2" style="text-align:center">
<input type="submit" value="Submit"> ( <a href="http://www.freecontactform.com/html_form.php">HTML Form</a> )
</td>
</tr>
</table>


It does display but there is about 3 or 4 inches of blank space before the table data displays.

How do I eliminate the blank space?

Then if I redisplay the item from the Shopping Cart, how do I display the data previously entered? This leads to the question, how to display the data entered on the confirmation?


Hi Rick,

I saw where you had a Registration Attendance List on the desktop version of the shopping cart but couldn't see the code that you used to pull that part together.

Is this possible? Can you just send me some html for anything that I can paste into the Detailed Description that would show some text boxes, a datebox and a checkbox. Then let me know how I would display that on the confirmation.

Ultimately I want to be able to pull this data back into a SQL table for the member record.




Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles