ERROR manage relation table
Hi,
its real a cross to insert that manage relation table!
I always get that f* ASTERIX!
An to insert 2 relation doesnt work anyway!!!
The code for the second selectbox aint created.
Need HELP, thanks!
Denis
Hi,
its real a cross to insert that manage relation table!
I always get that f* ASTERIX!
An to insert 2 relation doesnt work anyway!!!
The code for the second selectbox aint created.
Need HELP, thanks!
Denis
1) The manage relational behavior is intended to be used in conjunction with an insert record behavior. your page does not have an insert record behavior on it.
2) The manage relational behavior will not work correctly with multiple select lists, it will only support check boxes.
Hi Jason,
how can I create the "check boxes" dynamicly.
OK, I always use an insert, this was just to show. when I got an INSERT, the second manage, wont be created. I will upload, a page :-)
Denis
create the check boxes dynamically using a record set and a repeat region.
can you give more details on what you mean by "the second manage, wont be created"
I have not run into a problem using more than one manage relational table behavior on the page.
ok, just a moment I will create a page :-)
OK, here we go.
as you can see, the second SELECT MENU dont get the relation code like that [] etc.
By the way I dont know how to create that dynamic boxes :-(
the PHP code in the HEAD is created, but the second select menu (GENDER) dont gets updated with the php code like the first one (SIZE).
and, as you can see, I got that ASTERIXes even if I dont handcode the code :-(
Denis
the problem is that you are using select lists, like I said in my previous reply, the manage relational table behavior will not work with select lists, you need to use check boxes.
Add a checkbox to the page named size. you will need to set the value in code view. go to code view, place the cursor between the quotes for value, in the bindings panel select the id column from the size recordset and click the insert button at the bottom of the bindings panel
go back to design view, and select the size checkbox, then on the server behaviors panel, click the plus button and select Repeat region, use the size recordset, and set the repeat region to use all records.
repeat these steps for the gender checkbox.
for use with the manage relational table, the checkbox names should contain the [] characters at the end.
like that?
it looks a little strange, cause it adds so much code :-)
yes, that looks correct.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.