close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Selecting current record value in repeated region drop-down box

Thread began 5/27/2011 6:29 am by YellowCircleWeb | Last modified 5/27/2011 6:29 am by YellowCircleWeb | 696 views | 0 replies |

YellowCircleWeb

Selecting current record value in repeated region drop-down box

***************FIXED******************

Sorry, I've fixed this issue now. I swapped the order of the recordsets around and got it to work properly that way. I'd been stuck on this for about 3 hours before posting on here, then I had a flash of inspiration and it's working. Didn't mean to waste anyone's time.


Hi,

I'm trying to build an update page that allows a user to update up to 5 products. The page has a repeat region behaviour added to a table row containing a drop-down list that's populated with product records from a single database table - that's all working fine.

However, I have another recordset on the page that selects the current product value. This recordset only ever displays the first record in the repeat region, so when I ask the dynamic drop-down to select the value that's equal to the value in this second recordset I just get the same record selected 5 times, rather than the first drop-down box selecting the first record, the second drop-down box selecting the second record etc.

How can I get it to move to the next record in the 2nd recordset so that each drop-down selects the current value?

I've attached a copy of the page.

Attached Files
assignment-product-update.zip
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...