close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

hidden field not populating column

Thread began 2/17/2012 2:49 pm by asarcona308398 | Last modified 2/17/2012 8:00 pm by asarcona308398 | 663 views | 7 replies

Jason ByrnesWebAssist

the value of the checkbox will only be sent if the checbox is checked, this is the way a checkbox works, if it is not checked, no value is sent.

the checkbox is also used by the insert record behavior as a trigger for inserting that record, if not checked, no record for that column is created. I would recommend using a radio group instead of a checkbox.

the other issue is because you are using recordset data in the insert behavior, the recordsets are configured to filter using query string variables. When the page first loads, the querystring variables are passed in, but the forms action does not pass them when it sends the form data, so the recordsets are not filtering correctly on post.

change the form tag:

php:
<form  action="" method="POST" name="attend_date">




to:

php:
<form  action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".htmlspecialchars($_SERVER["QUERY_STRING"]):""?>" method="POST" name="attend_date">




this will include any existing querystring variables when the form is posted.

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