hey Thanks guys! I have found my problem. I assigned a POST to the variable $name. I was supposed to assign a GET request. Sorry for wasting your time, but I highly appreciate all of your insights. I will definitely, use them for my codes. Thank you!
Ye that is what I want,
Basically, I have two forms in my website. One form is for users to register for trainings of particular courses. The other form is an "add new course" form for adding courses that the user can register for. In the trainings form, these are my main fields:
Name...
Hi I am requesting some variables from a form into a server side script using ajax. I applied some logic into the server side script. However, when I added the logic, my form db does not get updated. Anywyz...my problem seems to be within the serverside php code of things, I have been toiling...
Hi There,
I have two forms in a website. When a user is filling in Form A and finds that a certain value is not found within one of the form select fields, then the user has to add that value through form B. I would like to open a Form B within the page when a user clicks a link to form B...
Hi There,
Im working on creating an ajax request that will be called through the onunload event in the body tag.
I have set a unique id for my form so that each time the form opens a new id is created. This automatically gets submitted to the database. However, if the user exits the page...
Hi There, Im a noob with ajax but really like the conept behind it. Iwanted to implement it into my form submit process. Basically, I want to create a security id each time the form is opened. When the user clicks submit, the for runs a javascript validation to check the form fields. If...
Hi,
I have a form that directs to a form summary page after being submitted. the summary page inserts the data into the db and also displays the form values. i want add a edit option where the user can edit their form is they entered a wrong value. Basically the user will have two options...
hi..
I created a form using php server and javascript client side. Once the user submits the form, if they click the back button then clicks the submit button again, the form gets re submitted. I do not want to do this. I would like to disable ( idea of atleast) the brower's back button so...
the expression doesnt seem to be working, unless i did not implement it correectly:
this is what I did:
function nameRegex(str)
{
return /[\?!><]/.test(str);
}
function checkName(str)
{
if(nameRegex(str) == true)
{
return false;
}
}...
oh wow...im way off...i was intending for some thing where..within the string any character that is ?!><. haha, i need to study this regex expressions. I was referring to some expression on one of the websites.
Oh im sorry..i thought I responded to that problem...well I found out that there is a date parse function that you can use. So I parsed the dates and then compared them in one line..
if(Date.parse(cStartD.value) > Date.parse(cEndD.value))
{
alert('ERROR: Start Date is greater than...
Hi,
I am a newbie to reg expressions but trying to create one to control what is typed in a form field. If certain characters are found, an alert box pops up a msg when the user clicks submit. I tried my code, but it is not working..im sure there is something wrong with the regex...plz check...
Hi,
I am creating a website, that carries both php and javascript code. However, I am having a problem with my javascript code, where I keep getting an object expected error one line 91. I tries to check to see if it is a php or javascript problem and then concluded that it is most likely...
Hi,
I am trying to create a date check scenario to see if my start date greater than my end date:
This is the code im using
var cStartD = myForm.startDate;
var cEndD = myForm.endDate;
var startD_array = cStartD.value.split("/");
var endD_array = cEndD.value.split("/")...
Hi,
I was wondering how to check the network traffic ( which internet addresses are being accessed) through a cisco 2600 router come firewall that has NAT ( basic security), second level access list, and CBAC. I dont know the command to check it.
Well after rebooting the imac, the issue goes away. But after a while, the screen gets locked again, and I would have to reboot again. Will I lose any of my documents/files if reset my pram and nvram? Or does it just reset the config settings?
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.