close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cannot input | into text

Thread began 12/16/2009 2:43 pm by andy.schofield283961 | Last modified 12/16/2009 6:51 pm by Eric Mittman | 1152 views | 1 replies |

andy.schofield283961

Cannot input | into text

If I try and add a | character into iRite i get the following error:

Incorrect datetime value

Example: Inputting data

Item 1 | Item 2 | Item 3

Then I get this error when updating:

Incorrect datetime value: ' Item 2 ' for column 'ContentDate' at row 1

Can you help please.

Sign in to reply to this post

Eric Mittman

This is a problem because the insert and update server behaviors that we have rely on using this same character as the separator for the values. When I have encountered this in the past I have been able to work around it by altering the code for the insert and update server behavior. I first change the "|" character that is listed in the value string, changing it to be like this works for me:

"*|*"

Then further down in the server behavior find the values code that looks like this:

php:
$WA_fieldValues = explode("|", $WA_fieldValuesStr);



Then update it to match the new characters you have like this:

php:
$WA_fieldValues = explode("*|*", $WA_fieldValuesStr);



If you have any trouble with any of this post back with the page in question and I can't point you to the specific lines you will need to change.

Sign in to reply to this post

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...