Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DuncanKing

    Javascript fills second field. Info lost if user goes "Back"

    Off topic...but how do you get the indented "code" screen into the reply?
  2. DuncanKing

    Javascript fills second field. Info lost if user goes "Back"

    Yes absolutely. I've done that and thanks for your contribution. I'll give it a try. ...the theniteowl soloution works really well. Thanks
  3. DuncanKing

    Javascript fills second field. Info lost if user goes "Back"

    Brilliant...Brilliant ....Brilliant This works! Thank you very much. ...and thanks for the useful comments Duncan
  4. DuncanKing

    Javascript fills second field. Info lost if user goes "Back"

    Note: the file name is form_1.cfm Here's the code for the form: Thnaks... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Form Test</title>...
  5. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    I have tried changing "form" to "myForm" and other combinations and no joy? Interestingly, if I combine the 2 script statements like this <SCRIPT type="text/javascript" script LANGUAGE="javascript" src="model.js"> the review form doesn't work. But if I use 2 separate script statements...
  6. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    Yes I have that bit working on its own but when combined with your code it doesn't work. I'll play around with it again later tonight and let you know what happens. Thanks for all your help. Duncan
  7. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    This does not dynamically fill the second field. If Ford is selected as the Make, then the Model field should "fill" with all the Ford models. Similarly if BMW is select as the Make, alll the BMW models should fill in the Model fields. The code the follows does not seem to do that. <div...
  8. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    Thanks again for this. Yes, I agree, just text box for review is good. With the new code, do I have to hard code the Model options in the Model option tags. I have a file called "model.js" with all the model info in it which I call using the src attribute and have that working but does not...
  9. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    PS I think the problem is with this statement: <input type="text" id ="firstname" > I guess the problem is how to get a dropdown list to accept an input "type" and does the variable attribute name have to be "id" or could it be "name" as in <select name=...> Thanks
  10. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    Thanks I'm going with the jc solution. However, I can't get the jc fill in to work. I have substituted firstName and lastName with "make" and "model". The "make" field has a dropdown list and "model" options are supposed to be filled in according to the selection made. I can get this and your...
  11. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    Thanks for these suggestions. Do you have any sample code for the function or have suggestions where I might look? I'm using javaccript because the model info is in a .js file called by the code above. Thanks
  12. DuncanKing

    Javascript fills second field. Info lost if user goes &quot;Back&quot;

    I have field in a form that is filled depending on the option that a user selects from the previous field. Eg "Model" is filled with all the Models available if a user selects a particular "Make." This works well. Here the code I have: <select name="Make"...
  13. DuncanKing

    uploading a file

    I would like the user to be able to select and upload a "jpg" file from a form that had other fields. So this will just be another field in the form with other data about the product. When the user clicks on "Submit" they will upload everything to the MS access database. Does anyone know what...
  14. DuncanKing

    upload file from cfform

    This is the code I have in the form. It allows me to browse for the file but it does not upload it into the directory. <form action="update.cfm" method="post" enctype="multipart/form-data" name="publish"> File to upload: <input name="AdWithPhotoClassified" type="file"...
  15. DuncanKing

    Cmd button First and Last error message

    AceMan...Brilliant...that works Thanks
  16. DuncanKing

    upload file from cfform

    I would like the user to be able to select and upload a "jpg" file from a form that had other fields. So this will just be another field in the form with other data about the product. When the user clicks on "Submit" they will upload everything to the MS access database. Does anyone know what...
  17. DuncanKing

    Cmd button First and Last error message

    There is something wrong with this piece of code. I get "cant find the fiels RecoredsetClone" If Me.CurrentRecord = Me!RecordsetClone.RecordCount Then The "move previous" works great. Duncan
  18. DuncanKing

    Cmd button First and Last error message

    PS the error message I get is "You can't go to the specified record"
  19. DuncanKing

    Cmd button First and Last error message

    The code for previous record and next record gives an error when click beyond the first/last record. I have no way of knowing that i'm at the first/last record. Here's the code DoCmd.GoToRecord , , acPrevious. DoCmd.GoToRecord , , acNext Is there a piece of code that will give a "user...
  20. DuncanKing

    Cmd button code for Switchboard

    Thanks everybody for your help. The form was not open but the DoCmd.OpenForm "Switchboard" fixed that. Duncan

Part and Inventory Search

Back
Top