I am only able to test with Blackberry. I was trying to create a couple of variables with the "var lat =" and var lng =". With this script I get the alert window and when I click ok it writes "Your device supports ...".
The error I get is - this is similar to the errors I get when checking and unchecking a check box: Message: 'null' is null or not an object Line: 64 (this would be line comSpc.innerHTML = 'something1';) Char: 4 Code: 0
The following form validation script works, currently if one of the five fields are completed, a message appears the remaining field(s) must be completed etc. Although the information the user has inputted in the first field is cleared. How can this information be available, if there is one problem in the form it doesn't make sense that the user must re-input all the information again. I look forward to hearing your response,
//Event Registrations (Variable Declarations) found in validation_chkr.js //Validate Entire Form using validate_join() function validate_join()
Is there a way I can calculate a field in a form based on another field in the same form. When clicking submit, both values should be posted to the next page. I want to be able to type in a value in one field, and automatically in a second field the value*1,36 should appear.
I have a site for property bookings with 2 calendars to enter start and end date. The calendar im using doesnt have any obvious facility to copy yhe date to 2 fields so each one has to be done, months in advance this can be a real pain.
Does anyone have any ideas how i can take the data inserted into one field and copy it to the second?
I'm a non-web programmer being forced to do some web programming.
My immediate problem is that, on submission of a form, I need to be able to open a url (that I control) with the filled-in form values appended to the new url. In other words, I need to be able to do the equivalent of :
I'm creating a form that has 30 odd fields, and I want to display certain fields based on the value of a select box. So say I have the following groups:
Group A: field 1 field 2 field 3 field 4
Group B: field 2 field 3 field 6 field 7 field 8
Group C: field 2 field 7 field 8 field 9 field 10
What would the best (i.e fastest and easiest) way to show/hide the various fields? I was thinking about two different ways to approach this. One, having a multidimensional array with the allowed fields for each group. Two, having a custom attribute that defines which group(s) the corresponding form field belongs too. What do you think?
I have a form (using PHP) to update a mySQL database AND XML for flash, for a simple news page. At the moment I have the BBcode style of tags ([b][eb]). I was wondering how I can make a rich editor myself with just three buttons (one for italic, one for bold, one for links) that displays the text on screen to the user as WYSIWYG, and outputs the [b] [eb] tags for my PHP code.
The problem is when a user (in this case me) is using an iPhone's Safari, when he hits "next" button on the first drop down, it does not change the content of the second drop down. But when he hits "previous", then "next" again, the selections get updated afterwards.
In a shorter sentence, the event listener does not work on the first hit, but it works on the second hit. What am I missing here? What steps do I need to add?
Im trying to create an array using a form so that each time its stubmitted the value is stored in a session then the user can choose to save it or not, all without refreshing the page.Eg enter name and age, click add, it displays the name and age underneath the form, then enter a 2nd name and age click add, this is added to the array and displayed below the 1st entry.