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

Databridge Dynamic Dropdowns not inserting value?

Thread began 1/16/2013 4:51 am by steve287725 | Last modified 1/16/2013 3:55 pm by Jason Byrnes | 404 views | 3 replies |

steve287725

Databridge Dynamic Dropdowns not inserting value?

Hello there

I am just building a bespoke document management system and I have a couple of issues with the DataBridge behaviours (I have just upgraded from DataAssist).

I have attached the record insert page on which there are 2 issues which I cannot seem to resolve;

1. I have the document_desc set to validate a unique database value which is fine if it is unique on first submit, but if it is rejected then the dynamic dropdown values are replaced by the text shown on the attached image.

2. The child dropdown is not submitting its value into the database <?php echo ((isset($_POST["document_categoryID[]"]))?$_POST["document_categoryID[]"]:""); ?> into document_categoryID

Any thoughts please?

Many thanks

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

Jason ByrnesWebAssist

1) you need to add Populate list from array behaviors to the onload event of the body tag and Set Selected in list behaviors for the 2 child lists to re populate then with the values that correspond to the parent list selections.


2) does the document_categoryID need to be a multiple select list? do you need to be able to assign multiple categories?

if so, you should be using a linking table for the document category and the manage relational table behavior to store the categories selected.

Sign in to reply to this post

steve287725

Tried it??

Hello Jason - trust you are well and 2013 is looking good for you.
I have made the Body OnLoad event editable and added the original behavior to the event - as attached.

I get the same result?

Thanks

Steve

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

Jason ByrnesWebAssist

for the 2 child select lists, click the dynamic button in the properties inspector, and clear the select value equal to option.

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