close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

using dynamic text for hidden field....

Thread began 9/12/2012 6:48 am by JamieEff | Last modified 9/14/2012 10:17 am by JamieEff | 3405 views | 11 replies

Jason ByrnesWebAssist

  if i put that form within the repeat region the form it doesnt work...basically it shows multiple forms (as many as there are entries showing from the repeat region) - obviously I have misunderstood something.....  




obviously I have misunderstood something myself.

What is it you are trying to do with this form? do you want the hidden element to contain the First name from the first record of the recordset?

The basic problem is this:

The form is after the repeat region.

once the repeat region loops through the recordset, the recordset is at the end, on an empty pointer.


your H1 tag works because it is before the repeat region, before the repeat region, the recordset is on the first record. so the h1 shows the first name contained in the first record?

is this what you want in the hidden element? the first record value? if so, you need to reset the recordset to beginning;

php:
<?php
mysql_data_seek
($Activities0);
$row_Activities mysql_fetch_assoc($Activities);
?>

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