Hello everyone. I'm sure there is a simple answer to my
dilemma but so far it has evaded me. Here is my problem:
I have a forum with 3 inputs on it that are given me
problems. Here they are:
One text area input (html) - Work Description
Two text inputs (html). - Hours worked & Minutes Worked.
I also have one html "Submit" button
and one html "Select" input as well.
An insert statement is utilized everytime someone clicks the
submit button. An update function is also utilized everytime
the submit button is clicked as well. What I am trying to do
is code a condition that will make the insert statment NOT fire if
the individual does not have a value filled out for hours
worked, minutes worked, or description. I still need the other
cfqueryto work when the submit button is clicked (an update
function fires when submit is clicked as well). I need the
update query to still work as it will be updating a record to
reflect the change in the select input. I want the insert statement
to be disabled/not work when the text area, and text inputs
do not have a value for them. Is this possible using html inputs
or do they have to be cf inputs? I am editing a preexisting
page so my previous efforts to turn these html inputs to cf inputs
have met with great resistance. Any help would be greatly
appreciated. Thank you