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>...
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...
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
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...
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...
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
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...
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
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"...
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...
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"...
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...
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
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...
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.