close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

update clears column content

Thread began 10/31/2014 3:49 am by Jamie | Last modified 11/04/2014 7:14 am by Jason Byrnes | 2023 views | 9 replies |

Jamie

update clears column content

Hey Jason

Just wondering what I have done wrong with the attached page.

Basically, when updating the page, the column VideoImage gets emptied (if an image isnt selected to be uploaded). I have added a hidden field but that hasnt rectified it.

The VideoImage upload section only shows if if the PageContentsID = 34 - not sure if this is screwing it up?

Cheers

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

Code looks right.

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Jamie

see PM

Sign in to reply to this post

Jason ByrnesWebAssist

In the update record behavior, you have the VideoImage column bound to the VideoImage form element, you need to use the WA Uploaded files (VideoImage) -> Server File Name binding instead.

Sign in to reply to this post

Jamie

thanks Jason, yep that makes sense thank you. however, i have changed it to that and it is still clearing the column. have attached the 'updated' file.

Sign in to reply to this post

Jason ByrnesWebAssist

This page is still using the form element binding, not the server file name binding from the WA Uploaded Files group.

Sign in to reply to this post

Jamie

isnt that what is happening at line 348?

<input name="VideoImage" type="hidden" value="<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]; ?>" />
Sign in to reply to this post

Jason ByrnesWebAssist

No, i am not referring to the hidden element binding.

I am referring to ins the update record server behavior

in the update record server behavior, the VideoImage column is bound to the VideoImage form element, it needs to be bound to the server file name, this has nothing to do with the hidden element, in fact the hidden element is not even needed, because in the upload server behavior, the default file is set to use the recordset value.

Sign in to reply to this post

Jamie

ahhh gotcha... got it

thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

Sign in to reply to this post
loading

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