How can I keep the values previously entered on a form after submission

Hello DW,.

I have a form and after it get presented... I have a javascript link, which goes back to the form and values remain to be submitted.  Here's the javascript link: < a href = "JavaScript:history.go(-1) (-2)" > < / a >

It works very well, but now we use the attribute 'require' and when users click on the link it clears the values.  Is there a simple way to prevent erasure of these values, without having to use the chips and cookies?

-Alex

To have a form field to fill in with the value of a variable, we can use PHP like this:

(input type = "text" name = "address" value ='' / >)

If the form and its treatment are part of the same script, so it's simple. So, if your form uses the POST method, and you have extracted the values like this:

extract ($_POST);

.. then $address will be available to complete the form.

This can also be done with javascript, but I always use PHP for this.

Tags: Dreamweaver

Similar Questions

  • I have 2 phones on my ID Apple how can I keep the two devices to receive the same iMessages?

    I have 2 phones on my ID Apple how can I keep the two devices to receive the same iMessages?

    How to use several devices iPhone, iPad or iPod with a computer

    Using more an iDevice on the same computer

    This mainly applies to couples who add another device and don't want their electronic mail, messages, etc. being duplicated on both devices. To start reading: How to use several iPhone, iPad or iPod devices with one computer. You must create a login separate Apple and password for anyone who will use the new iDevice. See Apple - my Apple ID and frequently asked questions about the Apple ID. The easiest way is to do it on the computer using iTunes: iTunes - how to set up an Apple ID iTunes.

    On the computer, create a new user account for the person with the new iDevice. This is the user account always uses this person. He or she will no longer use the other user account. This way the person will have a separate iTunes library. Note When finished, do not 'share' apps under a single Apple ID. Each of you must buy your own applications under your own Apple ID. When you decide to divide like this you will have to buy new applications they want to use.

    First, transfer the new devices to a new account as well as all your data.  Save pictures of flow picture you want to keep for your camera (unless they are already in the camera roll) by opening your Photos app, tap Albums icon at the bottom. Now press the album My Photo Stream; Press Select; tap the photo you want to select. tap the share (box with the face up arrow) in the lower left corner icon; in the film, and then click Save.

    If you synchronize notes with iCloud, you want to keep, you must open each of your notes and email it to yourself. Later, you can copy and paste the text into the new notes created in your new account.

    Tap Settings > iCloud > remove account (removes it only from this device, not iCloud; the person who maintains the current account is not affected) provide the password to disable find my phone and choose to keep on my iDevice when prompted.  Sign in with another Apple ID to create your new account. Choose merge to download your data.

    Once you are on separate accounts, you can each go to icloud.com and remove data from the other person to your account.

    The above was created by the user randers4. Changes were made to improve the readability and the syntax.

  • How can I keep the dock and menu bar in the window

    How can I keep the dock and menu bar in the window

    First of all, go to System Preferences and select general:

    Under the dark menu and dock option, uncheck "hide and show the menu bar automatically".

    Go back and select Dock Prefs system:

    Make sure that "automatically hide / show the dock" is not checked.

  • How can I change the value of a control on front panel?

    On the front panel, I'm doing a complex control that consists of a Slider control and control of the digital inputs. Both controls display the same information and either may be used for entry. When changing value, I want the other control to display the same value.

    How can I change the value of a control on front flap when another control changes the value? I know how to use a structure of the event to detect value has changed, but I do not know how to impose control on front panel to change its value in the block diagram.

    Why do you not use a digital display on the slider, and no code is required:

    EDIT: Yes, he said. ***

  • How can I keep the updates that I rejected following lists?

    How can I keep the updates that I reject in the following lists of available updates?

    Once you * hide * them - you won't see them even * less * they are re-certificate/changed/updated.  To whom it may * look like * see them again - but you can give the update more than a quick glance - because if she was re-certificate/updated / changed somehow - you might want to install this time.

    --
    Martin Stanley
    MS - MVP
    --
    How to ask Questions the Smart way
    http://www.CatB.org/~ESR/FAQs/smart-questions.html
  • How can I write the value of floats Unitronics vision230 PLC with modbus Ethernet

    How can I write the value of type Float in unitronics PLC Vision230 modbus ethernet (Ethernet Master Query.vi MB) usinsg I read and write register 32 bits, for example, I want to write the value 23.45 2nd Add. MF. And registry MF is the 32-bit registry. I read and write register 32-bit.

    Narendra.

    Narendra,

    Two characters can type cast into a uint16 you VI supports.

    To summarize. Take one (4 bytes). Flatten it to a string (4-byte) divided this string into two parts of 2 bytes each. Cast in u16 (16 x 2 = 32-bit).

    However, if you really want to follow the IEEE standards then you will need refer this KB. His is not that simple, but seems closer to what you are looking for.

    Amit

  • How can I disable the next/previous button at the bottom left of the Windows Picture and Fax

    I am a beginner of the windows developer, please help me.

    1. How can I disable the next/previous button at the bottom left of the Windows Picture and Fax Viewer? E.g. change Registory or others...
    2. when I click the print on the Windows Picture and Fax Viewer, the image of the current directory

    will appear in print wizard, how can I show only the currently shoing image?

    Note: windows XP SP3

    Hi NewsAru,

    Unfortunately, there is no way to disable the next\previous buttons in Windows Picture and Fax Viewer.

    When you try to print an image by using Windows Picture and Fax Viewer it would display all available photos in the folder that contains the image you have chosen to print.

    Overview of Windows Picture and Fax Viewer

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/image_toolbar.mspx?mfr=true

  • How can I change the value of a print job in Visio 2003. It is for 1 or 2 pages, I want that he 9 printing pages. Thank you.

    How can I change the value of a print job in Visio 2003.  He is currently configured to print pages 1 and 2, but I want to print all 9 pages at a time.  Thank you

    You can remove 1-2 and type 1-9? All HP and Epson printers I have worked this way.

    That's all I can offer as I'm not familiar with your printer.

  • How can I keep the bar of menus in internet explore 9 open by default?

    How can I keep the bar of menus in internet explore 9 open by default?

    Right-click on an empty spot on the toolbar and check that the Menu bar.

     
     
  • How can I keep the "on-screen keyboard" to invite the user every time that I reboot? The system is Windows Vista.

    How can I keep the "on-screen keyboard" to invite the user every time that I reboot? The system is Windows Vista.

    Please explain what you mean... "incentive"?

    The keyboard screen is not supposed to be enabled when the computer is turned on.

    Here's how to turn off on-screen keyboard:

    http://www.Vistax64.com/tutorials/72733-screen-keyboard.html

  • How can I keep the connection

    Hello.

    I have the following situation.

    I'm developing an application using a Web server to authenticate users, when a user is authenticated to create a session that I use to conduct several operations.

    Problem:

    When the user using the application by time, the connection and the session are closed, if the user performs an operation has failed because the session was destroyed and must authenticate again.

    How can I keep the connection and open session

    Hi chicoxml,

    I guess it would be similar to online sites that have the same concept of a session.  As I understand it, is that you essentially need either make the longer session time-out, not all the session timeout or use a different way to authenticate your user.

  • Once I have to zoom on video in post production using the effects Panel and movement controls &gt; scale how can I keep the sharpness of the image?

    How can I keep the sharpness after I Zoom.

    Never exceed 100% scale.  The image is going to deteriorate.

  • When I print a document in pdf format to save, how can I keep the page displayed?

    When I print a document in pdf format to save, how can I keep the page displayed? It takes extra time to close each document. He has not done this before going to a new version.

    solved.

    Judy Reynolds

    Office: (979) 703-6200

  • ICF custom connector; How can I get the values of the parameters of the recon calendar task?

    I'm trying to create a custom connector icf with progressive reconciliation. My recon schedule a task, I have the settings "attribute of Date additional Recon ' and 'last token" that should be used for gradual reconciliation.

    How can I get the values of the parameters ' attribute of Date additional Recon ' and 'last token "?

    ICF should handle this for you.

    The value of "attribute of Date additional Recon ' must be filled in the OperationOption (e.g. executeQuery() and PROCESSES of FilterTranslator has this as a method parameter).

    For the "last counter", you need to implement ' createGreaterThanExpression (GreaterThanFilter, filter, is not Boolean) ' in your filter translator class. You can get the attribute of the filter object. Look for a description here: http://docs.oracle.com/cd/E37472_01/apirefs.1112/e28159/oracle/iam/connectors/icfcommon/recon/SearchReconTask.html

  • How can I change the name I entered during the creation of my my name on behalf of our company Adobe ID?

    How can I change the name I entered during the creation of my my name on behalf of our company Adobe ID?

    See: How can I change the name of the account on behalf of our company?

Maybe you are looking for

  • Pavilion p7 - 1226 s: card Nvidia GT 710 does not work with the P7-1226 Pavilion

    I installed a graphics card from EVGA Nvidia GT 710 in my Pavilion p7 - 1226, and when I turned on the PC, he remained at the HP splash screen and all does not load more. It would also give a single beep every so often. I can not enter the Boot Optio

  • Satellite L550 - black screen with mobile cursor on startup

    Hello world I have a Win7 of Toshiba Satellite Pro l550-17u with a startup problem, black screen with a cursor, but not going beyond. Tried to reset the default values on initial F2 menu configurationTried to boot in safe mode and the safe mode with

  • ERR_GFX_D3D_INIT BSOD 0x0000003B please help us

    This problem occurs only with a single match. GTAV A lot of people have this problem and it doesn't seem to be a solution. We had many patches to the game and many driver updates. The problem persists over many different hardware configurations. AMD

  • SSL in switches

    Hello I was wondering if all the cisco switches have been able to manage the ssl? If the licenses are required to do? Thank you Stéphane

  • IMAGES IN AE CC (2015.3) RED

    I get random full red frames in my compositions/projects/videos. I have no idea why either they appear only randomly, even when I made videos. Anyone know what I can do?