Submit And Print Button

Is it possible to have a form's SUBMIT button perform two different functions? For instance, to prevent a user from having to perform an extra step, I would like the SUBMIT button to both submit information to the database as well as print the form. Can this be done?

View Replies


ADVERTISEMENT

Print An ASP Form By Clickng Print Button On Same Page

i make a data display page, its showing all records, now i want user just press print button, and that print all data on screen, secondly user input 2 dats From ..... To......, so data in between that day will print,

View Replies View Related

Submit Button Versus Regular Button

I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't.

I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?

View Replies View Related

Submit Drop Down Without A Submit Button

i'm trying to get a drop down menu to submit automatically when an option is clicked. i've tried various javascripts and they don't seem to work correctly with asp. does anybody know of anything that will work properly?

View Replies View Related

EMULATE THE PRINT SCREEN COPY BUTTON

I would like use the Print Screen Button to copy a part of page using ASP.

En fact, I use a data access page of a chart (pivot)created by access. And I would like copy only the chart.

I think the easiest way is to use a Print Screen Button of keyboard.

Some body could help me to found a solution to control this button using ASP.

View Replies View Related

Submit Button

I have a submit button - I would like it to submit and then I would go to the next page when the submit button is pressed.

View Replies View Related

Submit Button

i am having problem with my submit function. When i refresh my page or select an option from the drop down list it is submiting the values into the database where it should submit when i click the submit values. Another problem is tat wad ever values i submit it is appearing with comma at the beginning of the value in the database.

View Replies View Related

Submit Button

I have a question about using a image as a submit button. Basically I have:

<INPUT="image" SRC="c:whateverwhateverutton.jpg" NAME="Login">

Now I have two different buttons in one form. I trying to figure out how to get the page to know what button was pushed, and then do a set of actions. Such as:

If button1 is pushed then
blah
end if
if button2 is pushed then
blah
end if

Thats the basic pseudo code for what Im trying to do. Keep in mind this is a image button.

View Replies View Related

Submit Button

I figured out that it is a default feature that if you are in an input box and hit the enter button it will cause the form to sort of 'submit'. I have a page where the form action is the actual page but it does all its variable assigning and such inside of an if then statement.
If Request.Form("submit")<> Then
and at the end of the if then I have a response.redirect to throw the results of my variables in the llink.
So what happens is when I hit the enter button it almost looks like the page is refreshing since the form action is the form itself. And the form doesnt even get into the If then statement. Anyone have any suggestions or direction as to what the easiest way I can do this is?

View Replies View Related

Submit Button

I'm using this code to enable the sumbit button.The problem is that it enables on odd numbers of ticks once even it disables thee button.Basically it disables the checkbox until one checkbox is ticked.

Code:

<input type="checkbox" onClick="document.all['mysubmit'].disabled =(document.all['mysubmit'].disabled)? false : true">
<input type="submit" id="mysubmit" value="submit" disabled>

I just want it to enable if 1 or all checkboxes are ticked.

View Replies View Related

Submit Button

I have an ASP form with a submit button. When the form loads, the submit button is automatically highlighted. Is there anyway to stop this?

View Replies View Related

Submit Button

I have a form,I don't want it to submit when user presses enter?I only want the form to submit when user clicks on the submit button.

View Replies View Related

One Submit Button

I have a ms access db with several one to many relationship links. I wish to create a asp page where the user can fill in the information and then update it to the db.

The textboxes on the webpage range back to 3-4 different tables and I cannot figure out a decent way to update the whole page from one button.

View Replies View Related

Submit Button

I have created a submit button to my asp page but I need help with getting it to do what its suppose to do. Can anyone help me with getting a submit button to "submit".

View Replies View Related

Submit Button

if i wanted to do an insert statement..where i should put the code.. is it under the sub Submit_OnClick??? or anywhere on the form itself?

View Replies View Related

Submit Button

I have a form that I allow the user to use the ALT-S key to submit. I'd like to have just the S in the Submit button underlined, Is this possible?

View Replies View Related

Submit Button To Image

How can put the action into in image? because instead of submit button, i will replace it with image?

View Replies View Related

Need A Submit Button To Run Two Hyperlinks

I have a Submit button on a web page that runs the following hyperlink code below.

<p>
<a href="ProducsTotalBasket.asp?Remote_computer_name=<%=FP_FieldURL(fp_rs,"Remote_computer_name")%>&Committed=<%=FP_FieldURL(fp_rs,"Committed")%>">

<input type="submit" value="Click to Continue" name="ClicktoContinue"></a></p>

The hyperlink uses parameters that pass the value of the "Remote_computer_name" and the value of "committed" to a SQL statement that uses the values returned to update the underlying database.

The hyperlink code runs perfectly when I click on the submit button on the web page and updates the database however at that point I want the user to be redirected to a new page i.e. a second URL address.

View Replies View Related

Disabling A Submit Button

I have pulled some date from a table in access and displayed it on a form in a table. If there was no data in the Table, Hence the Html table displaying it was empty is there a way of disabling the submit button that submits that data to avoid a conflict?

View Replies View Related

Submit Button Solution

i have a simple form in a html page.
the form successfully sends data to my database using asp.
currently sending details using
<input type="submit" value="Submit">
which as you know uses the small grey box Submit button.
what i would like instead, is that instead of using this default button to submit..
i could replace that with a roll over image, that is compiled of the 2 files
submit.gif and submit-white.gif
and when it is pressed, the form details are posted, how can this be done

View Replies View Related

Need A Submit Button To Run Two Hyperlinks

I have a Submit button on a web page that runs the following hyperlink code below.

<p>
<a href="ProducsTotalBasket.asp?Remote_computer_name=<%=FP_FieldURL(fp_rs,"Remote_computer_name")%>&Committed=<%=FP_FieldURL(fp_rs,"Committed")%>">

<input type="submit" value="Click to Continue" name="ClicktoContinue"></a></p>

The hyperlink uses parameters that pass the value of the "Remote_computer_name" and the value of "committed" to a SQL statement that uses the values returned to update the underlying database.

The hyperlink code runs perfectly when I click on the submit button on the web page and updates the database however at that point I want the user to be redirected to a new page i.e. a second URL address.

View Replies View Related

Wich Submit Button

I have 2 ways of submitting a form, the first is by an onload efect of a List/Menu, and the another is the classic "Submit" button.I need to know how the form was submitted, if it was using the Onload of the List, or by clicking on "Submit"

View Replies View Related

Submit Button Is Now An Image

I have a form with input fields and a submit button as following :(don't
focus on mistypings if any)

<FORM action=page.asp method=post>
<Input id=text1 name=text1>
<Input id=submit1 type=submit value=Submit name=submit1>
</Form>

I want to change the standard button by an image, but keep the advantage of
the POST method to pass the parameters to my next page, that is page.asp

How can I do such a thing?

View Replies View Related

Submit Button Not Working

I created a form and when I press the submit button it should show a message, the message isn't showing: Code:

View Replies View Related

Problem With Submit Button

i am having problem with my submit function. When i refresh my page or select an option from the drop down list it is submiting the values into the database where it should submit when i click the submit values. Another problem is tat wad ever values i submit it is appearing with comma at the beginning of the value in the database. Code:

View Replies View Related

Replace Submit Button

I have seen it before, how is it made?

View Replies View Related

Test For Submit Button

I need to dynamically generate some submit buttons = the easy part . But i'm not sure how i can test which button has been used to submit the form and what it's value is .
Anyone know this?

View Replies View Related

Submit Button Was Clicked

How do I find out which submit button was clicked?

View Replies View Related

Disable Submit Button

i have a text area on a form that users fill in. is it possible to prevent the user from submitting the form when there is no data entered in the text area. as soon as the user enters data in the text area then the form should be able to submit.

View Replies View Related

Problem With Submit Button

i am having problem with my submit function. When i refresh my page or select an option from the drop down list it is submiting the values into the database where it should submit when i click the submit values.

Another problem is tat wad ever values i submit it is appearing with comma at the beginning of the value in the database. Code:

View Replies View Related

Submit Button Not Working (strange)

I have a Website at work which we use for logs. You must login to access anything. I didn't change any code on one of the 9 pages I have and all of a sudden, the Submit button won't work. I'm totally stumped as to why. All the other Submit buttons work fine on all the othere pages.

View Replies View Related

Run The If Else Statement After Click The Submit Button

How can i run the if else statement only after i click the submit button??

View Replies View Related

Making A Submit Button Not Visible

Does anyone know how to make a Submit button not visible? i know how to disable it, just type disabled in the tag. Any ideas?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved