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

rating

mandatory file on update

Thread began 1/22/2011 1:41 pm by davidp420108 | Last modified 1/24/2011 11:31 am by Jason Byrnes | 700 views | 1 replies |

davidp420108

mandatory file on update

I would like to make the update page have a mandatory requirement for the upload photo field. I understand how to use the behaviors built in to DW.

I have a hidden field that the upload is bound to and it works fine. But it doesnt seem to see the default file value on the hidden field as meeting the "required".


<input name="Photo_1" type="hidden" id="Photo_1" value="<?php echo $row_WADAinventory_tbl['Photo_1']; ?>" />



<input name="Update" type="image" id="Update" onclick="MM_validateForm('Stock_Number2','','R','VIN','','R','Make','','R','Model','','R','Year','','RinRange1895:2100','Price','','RisNum','Ext_Color','','R','Int_Color','','R','Mileage','','R','description','','R','Photo_1','','R');return document.MM_returnValue" value="Update" src="../WA_DataAssist/images/Slate/Modular_update.gif" alt="Update"  />

any suggestions

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

this is not needed

default file setting that is used by the File Upload behavior is used when no file is uploaded.

it is in place to force the server file name variable to have a value if no file is uploaded.

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