I have been working on getting a database on the web, i have accomplshied being able to add new rocords to the database only now I need to be able to edit records and delete them as needed I have looked on various pages for help with figuring this out, but to no avail. I just need a little help in the right direction. If someone could point me in the right direction that would be great. I have FP 2000 its and access 2000 database.
I have a simple add/change/delete feature going on. I have a products table that I'm selling mock products from. I have a column named category, which users either select baseball or basketball from the radio buttons on a form. I can't figure out how to make this work. I'm implying that the code is working, the record is adding to the database, just not the category field, and when I display all the fields out of my database onto a html page the category field is blank. Below is the code I have.
I have included my code below. I have created a form that pulls up data from a previous page that linked to this form. I have a update and delete button. Now my question is, how do I make the form update or delete from the database based on which button they push?
can u tell me of a simple script i can use to do the following. I want a textbox to add a entry to the database with a submit button, then below all that the current database entrys are listed below also in textboxes with a UPDATE and DELETE button beside each entry.
how can i make the function return true only if the execution is successfull (see bold red below)? Currently the function is returning true wheather it is successfull or not. Code:
Okay there is an unique EventRegID for every registration. When people first register they get pre-registered. Then an admin comes in and confirms or wait list them (based on whatever requirements). My question is how can I tie the EventRegID to a form with multipule ID's so they can batch confirm or wait list the PreReg list? Code:
Can someone tell me how to write the code for a button that when pressed, it will write code to the page and execute it. Like a button that will grey out and display text.
Is it possible to make command buttons in asp that send a single variable to a new page without using forms? I've got a page long form but on each entry in the form I want to place a command button that opens up a page.
I'm trying to just click a button and make that button take you to another page, this should work, but my syntax must be off.
<input type="button" name="go_button" value="push me" onClick="pageTwo.asp?id=<%=var1%>">
I think there is something wrong with using "onClick" I realize this is an event and you can't have events in ASP but I thought this was easy. I must be missing something.
i want that besides every word i am printing from the database, will be a nice botton that will do some operation inside the database. imagen list of names and image button and when you click this button it updating some column field.
I have an edit and delete button. The delete button is using the form action to indelete.asp. I also want to use the edit button which needs to use the form action.
I tried putting the edit button under a different form name but then I could not get the values to pass. Do I need to do this through a javascript function? Or maybe a different method?
what i want to do is when the user clicks on one of them show a different form if the user selects cars show cars forms this form will have different fields and different validation if the user clicks on trucks show trucks form and that will have different fields and so on
Looking for a way to switch between submit buttons. The default will be "start" and when the tech clicks on that, the button will start a timer, which I have already set.
The button then will switch to "stop" and when a tech has completed a job and clicks "stop" the timer will also stop and switch the button back to start.
I know how to track the time for each tech that starts and stops a job. I need a jumpstart on how to switch onclicks for two buttons.
I'm extremly new to asp and web development. Ive created a basic online phone book for our intranet which works lovely talking an sql database. only thing is i cant get next and previous buttons to work. I think its because it forgets the search the user requested?
I've one form, but two buttons that when they're clicked, call a javascript function that validates all the fields and then, submits all the information. The problem is that one of those two buttons has some more actions that are defined in ASP, but I don't know how to do that.
I mean, how to run some part of the code if one button is clicked, and how to run another part of the code if the other button is clicked, using in both cases the same information submited in the form.Do I've to define which button is clicked with javascript or it can be defined with ASP?
I have a table showing a list of records.On each row is a check box and a details button'.In the table header is a button to post back the checked items for deletion. The 'detailsbutton' posts to another page to show THAT row's details and needs to post THAT row's uniqueID.
How do i go about this?I have tried jS functions that change values in hidden fields, nested forms etc and all I can get is one button working and not the other.The main problem is the looped recordID which I can't seem to refer to in JS.
I have an edit and delete button. The delete button is using the form action to indelete.asp. I also want to use the edit button which also needs to use the form action. I tried putting the edit button under a different form name but then I could not get the values to pass. Do I need to do this through a javascript function? Or maybe a different method?
1. I have image I want to display that to a button how can I do that. I want to fire the on click event too 2. if 1 is not possible then how can I set image to have oncclick event, currently I get object nbot found error:
I am generating a set of radio groups accourding to the seleciton the user makes how can i validate the groups of radio buttons before the user submits the form. the buttons are generated by the same page once its called by the main page. Code:
I have a form for editing data and it has a set of radio buttons, what I need to know is how I make the correct radio button be ticked when I load the form. Code:
I am stuck trying to validate a group of dynamicly created radio buttons.
http://forums.aspfree.com/images/icons/icon6.gif
i need help in calling the groups that are being generated since the number of groups depends on the first page, where the selections are made I am using a for loop to generate each group of radio buttons. each group holds three radios I am not good with javascript.
I have 2 radio buttons, Yes and No. I have a text box with a value entered by the user. If the user selects the Yes radio button, I need to add 339 to the value they entered. They will submit the form to add the value...but the problem I am getting is, it keeps adding 339 more than once. If there is also a way...where they select yes and submit and go back to no...to set the value back to the value they entered.
How can I add 339 to a value the user entered without continuing to add 339 if the form is submitted multiple times?