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 | 3414 views | 11 replies

Jason ByrnesWebAssist

the form comes after the reapet region:


<!----------->
<?php do { ?>
<div style="font-size:14px;font-weight:normal; clear:both;padding:5px 0 5px 0; overflow:auto;background-color:#fff;">
<div style="float:left;width:75px;margin:0 0 0 4px;"><?php echo date("d/m/y",strtotime( $row_Activities['ActivityDate'])); ?></div>
<div style="float:left;width:185px;margin:0 0 0 4px;"><?php echo $row_Activities['ActivityItem']; ?></div>
<div style="float:left;width:295px;margin:0 0 0 4px;"><?php echo $row_Activities['ActivityDescription']; ?></div>
<div style="float:left;width:40px;;margin:0 4px 0 0;">£<?php echo number_format($row_Activities['ActivityCost'],2); ?></div>
<div style="float:right;width:30px;;margin:0 0 0 7px;">
<?php if(WA_Auth_RulePasses("Administrator")){ // Begin Show Region ?>
<form action="clientarea-activity.php" method="post" >
<input name="Submit" type="image" id="Submit" src="images/misc/delete.jpg" width="20" height="20" alt="Delete"/>
<input name="deleteID" type="hidden" value="<?php echo $row_Activities['ActivityID']; ?>">
<input name="CID" type="hidden" value="<?php echo $_GET['CID']; ?>">
</form>
<?php } // End Show Region ?>
</div>
</div>
<?php } while ($row_Activities = mysql_fetch_assoc($Activities)); ?>
<!----------->

</div>
<div style="padding:20px;background-color:#ccc;margin-top:20px;text-align:center;">
<strong>Please let us know if you think there is an issue with any of the above activities.</strong><br />
<form id="activityproblem" name="activityproblem" method="post" action="process-activity.php">
<input type="hidden" name="client" value="<?php echo $row_Activities['UserFirstName']; ?>">
<input type="hidden" name="success_msg" value="Thank you for your query. We'll be in touch shortly." />
<table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td width="13%" align="left" valign="middle">Comments:</td>
<td width="71%"><textarea name="comments" cols="58" rows="3" ></textarea></td>
<td width="16%" valign="middle"><input type="submit" name="submit" id="submit" value="Submit" /></td>
</tr>
</table>

</form>


after the repeat region, the recordset is on an empty pointer so does not contain a value.

the form should be inside the repeat region.

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