I am using cfhttp to automatically log in to one site from another site.
The users see different things depending on their passwords and logins. (Example - jdoe might see one set of options while jsmith would see another set of options).
I am using the below cfhttp code to automatically log...
I've read and unsuccesfully tried the suggestions already posted in this forum. I have two forms. The parent form opens a popup. The popup inserts a record into my database. I need the parent form to reload (in order to show this newly inserted record) AND place the focus BACK to the...
brannon,
Thanks a million!!! This worked like a charm!! One last question - is there a way to capture middle names or middle initials? <cfset midName=listMid(fullname, "")> and <cfset middleName=listMiddle(Fullname, "")> did not work.
I have a database with names in one field - FullName.
How can I detect the space, put everything to the left of the space in field FirstName and everything right of the space in field LastName?
Ex: John Doe should be in two separate fields instead of one field.
Ex: Lucille MacGillicuddy...
I am passing some values from one form to another like so:
window.opener.document.formname.name.value = name;
My problem is that I have two places on my original form that I need "name" to appear every time it is changed or selected.
I can always get one to appear but not the...
I have to check and change correspondence saluations on a CF form.
My parameters are:
<cfparam name=SalutationBeg default="Sir or Maam">
<cfparam name=SalutationEnd default="Valued Customer">
The user is passing the person's name as form.addressee.
I want to create...
I am attempting to validate and substitute data for a phone number. If the user attempts to enter an area code other than the valid one, I need to change it. Here is my code:
<script>
function validate_PhoneNum(){
if (document.MyForm.PhoneNum.charAt(3)== "000")
alert("strip...
Jeff,
Thanks for the script. I got the message; but the page still reloaded. I tried using return false; but it still loaded.
<script language="javascript">
var clicked = false;
function doClick() {
if (!clicked) {
alert("Clicked!");
return false;
}...
I have a link on a page that opens another page. My problem arises when the user accidentally clicks the link more than once. The information from the child form does not pass to the parent form when the link is clicked twice.
Below is the code:
<script>
onload=function(){
var...
I once did this and had the code; but cannot locate it nor fully recreate what I had...
I have a query that will return a different number of records. The result might be one reocord, , it might be 30 records, or 100 records, etc.
I need to create an array that will add the total associated...
All,
I have the above script in an event that successfully works when I test it in my test environment. Below is the entire script:
function CloseMe()
{
window.opener.reload(true)
window.close();
}
</script>
My dilemna is that when I move this code to my live site, my page reloads, but the...
I have a query that returns all our company's employees.
I need to show the names in alphabetical order; but show their employee numbers (like 1,2,3,etc) in DESCENDING order - regardless of when they were hired. The display would look like:
Adams, Joyce 47
Brown, Henry 46
Is there an...
I have a query that performs very basic functions. I assign variables to represent certain values from two tables. My problem exists within my "where" clause.
When I specifically compare any variable with a datatype other than INT, I get an invalid column name. (ex - querying for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.