close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


novel page update condition

Thread began 5/03/2020 11:31 am by Paul | Last modified 5/05/2020 2:45 pm by Ray Borduin | 150 views | 2 replies |

PaulBeta Tester

novel page update condition

Im looking to amend my update page to allow for a condition to be met, based on a couple of form input selections.

On page update, If a radio button group value is set to '3', I need the value in a select field to be set to '0', overwriting whatever is selcted in the drop down.

In short;

form1 includes the following inputs:

Dropdown1 populates with 20 options and respective numerical values.
Three radio group options exist, with values; 1, 2 & 3 repsectiveliy.

If radio3 is selected (value = 3) , the value written to the dropdown1 field on page update must be zero, regardless of what option maybe selected in Dropdown1 by user.


If radio2 or radio3 are selected, the value selected in Dropdown1 must be saved as normal.

Is this logic doable with the current WA toolset?

Sign in to reply to this post

Ray BorduinWebAssist

You would need to hand code it... Probably at the top of the page before the insert server behavior:

if (isset($_POST["radiogroup"]) && $_POST["radiogroup"] == "3") {
$_POST["selectName"] = "0";

Sign in to reply to this post
Did this help? Tips are appreciated...

PaulBeta Tester

awesome solution. thank you.

Worked perfectly.

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





Ease of use


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