Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with multiple form submits please

Featured Replies

I'm learning php..

 

I've programmed a web page of 5 seperate divs, in each div is a form for calculating bonuses on "submit".

The page is working, all calculations and layouts are perfect.

 

All I want to do is....

 

Keep all the info and results on each form even when hitting submit on another without clearing the previous form.

 

I'm using <form method = "POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">

 

http://www.dorsetwebdesigns.co.uk/bg/test.php

 

Any help will be gratefully appreciated as I have been searching for the answer for the last 4 days AARRGGHH

I would use JavaScript to send data on the onBlur event of each textarea.

 

The JavaScript would send this data to say, temp_details.php and store each field as a session.

 

Then on your form pages load, it looks for the sessions. If available, it puts them in the boxes.

 

I use a similar methods frequently and they work fine.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.