close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update picture/photo

Thread began 12/06/2012 1:02 pm by thehalpeen319342 | Last modified 12/06/2012 4:24 pm by thehalpeen319342 | 609 views | 2 replies |

thehalpeen319342

Update picture/photo

Jason,
I’m having trouble with updating the photo. When I update a record - say only the email part of a record, and if the record already has a photo on file – when the update takes place the photo is deleted.
I’ve read ‘Adding Digital File Pro to DataAssist Insert and Update Pages’, but it doesn’t make sense in my context ‘cause I built the ‘Update Page’ with CSS Form Builder. The article talks about hidden fields, but I don’t understand it – seems I have to create a new field or something!

Attached is the php page which may be of assistance to you:

Attached Files
update_member.zip
Sign in to reply to this post

Jason ByrnesWebAssist

yes, you need to create a hidden element, bind the hidden element to the image column being returned from the recordset on the update page, then in the Upload file behavior, bind the default file setting to the hidden element.

Sign in to reply to this post

thehalpeen319342

Brilliant, that worked for me. I'm almost there with my project and I'm really beginning to appreciate the WebAssist product and the support around the product. As I said before it takes a bit of learning especially for the novice, but with learning comes the appreciation.

I'm down to the last module of my project - the searching and displaying of results - and I've covered most of that with you in previous threads - but I'll break for the night and submit the thread tomorrow - thanks!

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