User Profile

Collapse

Profile Sidebar

Collapse
golddigger50
golddigger50
Last Activity: Nov 25 '09, 04:43 PM
Joined: Mar 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • golddigger50
    replied to Auto-submit hidden form
    Acoder,

    Thank you for your time and your help. This is the code that worked.


    Code:
    <cfquery name="Recordset1" datasource="website_users">
    SELECT * FROM #ExpandPath ("/Mailbox\Database\website_users.mail")# WHERE UserID = #Session.MM_UserID# 
    ORDER BY ID DESC 
    </cfquery>
     <cfquery datasource="website_users">
      UPDATE #ExpandPath ("/Mailbox\Database\website_users.mail")#
    ...
    See more | Go to post
    Last edited by acoder; Apr 2 '12, 01:03 PM.

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    This code seems like it should work but I am not getting the record to update to a true value.
    See more | Go to post
    Last edited by acoder; Apr 2 '12, 01:04 PM.

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    The server behavior, would be to update the record in the database and I would like to update record everytime user accesses this page. Hope this was helpful......
    See more | Go to post

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    Acoder,

    You are welcome to move this thread to the CF forum. I am not sure how to update the record without submiting the form. I would be forever greatful if you would show me. Thanks

    golddigger...
    See more | Go to post

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    No Problem
    Thanks anyway....
    See more | Go to post

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    Code:
    <cfparam name="SESSION.UserID" default="#SESSION.UserID#">
    <cfset CurrentPage=GetFileFromPath(GetTemplatePath())>
    <cfif IsDefined("FORM.MM_UpdateRecord") AND FORM.MM_UpdateRecord EQ "form1">
      <cfquery datasource="website_users">
      UPDATE #ExpandPath ("/Mailbox\Database\website_users.mail")# SET Confirmed=
      <cfif IsDefined("FORM.Maildate")>
    ...
    See more | Go to post
    Last edited by AricC; Mar 22 '07, 01:02 AM. Reason: Added Code Tags

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    Hey,

    Sorry I haven't been able to post in a while. Once again I appreciate how helpful you have been. Unfortunately I can not get the page to work properly.

    Maybe it would be helpful if I was more clear on my goal. I am trying to update a record in ms access. When the page is loaded a hidden form is submited. The form will add a check to a checkbox(or change the value from a "0" to a "1") in the...
    See more | Go to post

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    Mohsenhosseini,

    Thank you for your concern, but the page is still looping. I changed the form action to:

    action="?sendSt at=sent">

    If I made some obvious mistake please correct me. This is all very new to me and I appreciate your patients.
    Thanks

    Golddigger
    See more | Go to post

    Leave a comment:


  • golddigger50
    replied to Auto-submit hidden form
    Acoder, thank you for your help. I was thinking something along those lines would work, but I am in the early stages of learning java. Could you possible show me an example of how to pass a variable saying that I have submited. Your guidance is greatly appreciated.
    See more | Go to post

    Leave a comment:


  • golddigger50
    started a topic Auto-submit hidden form

    Auto-submit hidden form

    Hello,

    I am trying to autosubmit a hidden form.

    So far I have...... but it sends me into an infinite loop. Anyone got any ideas. I am such a noob...



    Code:
     
    <form method="post" name="form1" action="<cfoutput>#CurrentPage#</cfoutput>">
    <input type="hidden" name="Maildate" value="1"> 
    <input type="hidden"
    ...
    See more | Go to post
No activity results to display
Show More
Working...