Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.
<!--- obtain a valid amount for variable "amount"; this will confirm that amount entered in #REQUEST.conferenceFeeTable# is correct amount ---> <cfquery name="getConferenceAmount" datasource="#application.datasource#"> SELECT amount, ConferenceFeeTitle FROM #REQUEST.conferenceFeeTable# WHERE ConferenceFeeTypeID = <cfqueryparam cfsqltype="cf_sql_integer" value="#FORM.ConferenceFeeTypeID#"> </cfquery> <cfif getConferenceAmount.recordCount eq 0> <cfabort showerror="The payment amount is invalid!"> </cfif> <!--- obtain a valid amount for variable "form.PreconferenceAmount"; this will obtain a value for PreconferenceAmount as entered in #request.RegisterTable# ---> <cfquery name="getPreconferenceAmount" datasource="#application.datasource#"> SELECT PreconferenceAmount FROM #request.RegisterTable# WHERE RegisterID = <cfqueryparam cfsqltype="cf_sql_integer" value="#val(form.RegisterID)#"> </cfquery> <cfif getPreconferenceAmount.recordCount eq 0> <cfabort showerror="The payment amount is invalid!"> </cfif> <!--- add getConferenceAmount.amount and getPreconferenceAmount.PreconferenceAmount to obtain a combined amount to deliver to authorize.net ---> <cfset amount = val(getConferenceAmount.amount) + val(getPreconferenceAmount.PreconferenceAmount)>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Using a variable with dateAdd||18||81|
|Coldfusion- Create and save form elements in Database||7||107|
|On a ColdFusion site, what is best practice to Display "Shut Down for Maintenance"||3||63|
|popup load of page and setting up of session||8||57|
Join the community of 500,000 technology professionals and ask your questions.