close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How to add new form elements to an existing Results page inDataAssist

Thread began 6/28/2016 4:51 pm by tmcbinc99963 | Last modified 7/01/2016 5:33 pm by tmcbinc99963 | 5002 views | 10 replies

Ray BorduinWebAssist

You should avoid using the column name 'date' and any other reserved words as listed here: https://dev.mysql.com/doc/refman/5.5/en/keywords.html

Your select list for date is named "select", but your code is referencing the field as "date".... They have to match, so line:

$WADbSearch1->addComparisonFromList("date","date","AND","=",0);


should be:

$WADbSearch1->addComparisonFromList("date","select","AND","=",0);



or you need to update the select name to "date" to match the php code.

Your checkbox names are "CheckboxGroup1". If you want your users to be able to select more than one, they would have to be named: "CheckboxGroup1[]". If they can only select one then you should be using radio buttons instead.

and then you have a similar issue with the column name reference for that search as well. This code:

$WADbSearch1->addComparisonFromCheck("category","category","".$row_WADAnews['category']  ."","","AND","=","=",0);


should be:

$WADbSearch1->addComparisonFromList("category","CheckboxGroup1","AND","=",0);



Groups of checkboxes act just like multi-select lists.

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