Server Validation Restrict Content
jQuery Styling
MySQLi Insert
These extensions don't work as they're supposed to and despite the issues having being raised and apparently "logged" no resolution arrives and we're left having to hand code workarounds every time we want to use them. It's slow going and isn't what we thought we'd paid for.
Regarding the original issue in this thread. The page is now going bananas and I just don't have the time to spend trying to figure out why the WebAssist extensions aren't working the way they're supposed to.
When we go back in to edit either of the File Upload behaviours, and then return to our page, they are showing as doubled up in our Bindings panel (see attached).
Here's the code though...
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../property-for-sale/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "120",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1_2 Start
$WA_UploadResult1_Params["WA_UploadResult1_2"] = array(
'UploadFolder' => "../property-for-sale/thumbs/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "160",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_2 End
// WA_UploadResult1 Params End?>
<?php
// WA_UploadResult2 Params Start
$WA_UploadResult2_Params = array();
// WA_UploadResult2_1 Start
$WA_UploadResult2_Params["WA_UploadResult2_1"] = array(
'UploadFolder' => "../property-schedules/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult2_1 End
// WA_UploadResult2 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if(isset($_POST["addpropBTN"]) || isset($_POST["addpropBTN_x"])){
WA_DFP_UploadFiles("WA_UploadResult2", "jbschedule", "2", "[NewFileName]_[Increment]", "false", $WA_UploadResult2_Params);
}
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["addpropBTN"]) || isset($_POST["addpropBTN_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "jbphoto", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
}
?>
When we attempt to test this form. None of the file names are being saved to database.
We also have a corresponding UPDATE form within this admin section and, surprise surprise, it's not doing what it's supposed to do either. No file names are being saved to database. Checking our server I can see that the files are being uploaded so what is the problem with the file names?
As well as getting that to work properly we'd like, for both forms, to know what the "Default file" option is for. We've tried the help page:
http://assets.webassist.com/html-help/261/digital_file_pro_upload_2.html
...but of course there is no mention of that so we aren't even able to help ourselves with this stuff. <sigh>
I thought 2015 was going to be better than last year but it's fast turning into more of the same.
Please can you resolve these bugs? They are slowing workflow and are causing nothing but resentment towards WebAssist with whom we've invested a significant amount of money.
Thank you
NJ