php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12479 Request for (on click) feature in list boxes
Submitted: 2001-07-31 03:49 UTC Modified: 2001-07-31 04:49 UTC
From: doug dot barnes at ASPH dot NHS dot UK Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: WIN9x/WINNT
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: doug dot barnes at ASPH dot NHS dot UK
New email:
PHP Version: OS:

 

 [2001-07-31 03:49 UTC] doug dot barnes at ASPH dot NHS dot UK
As a Foxpro programmer trying to migrate to PHP, 

Is it possible with PHP to automatically refresh some fields in a form based on a choice made from a combi/list box,  something along the operation of the [valid()] clause in Foxpro & Access without having to click on the [submit] button

I could do it using multiple similar hidden forms,  but it's less user friendly than just clicking on an item (say "apples"),  then automatically populating the next combi/list with "Granny Smith", "Golden Delicious" etc,  and filling  "unit of sale" & "Unit cost"  text boxes with the last entered value.

Then when the variety is redefined,  refreshing again the "unit of sale" & "Unit cost"  text boxes 

Any chance in later versions,  or is it just not possible within the PHP framework?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-31 04:49 UTC] fmk@php.net
PHP is a server side scripting language. If you want "magic" stuff to happen on the client side you have to write it using JavaScript or other techniques available on the client.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 12:01:31 2024 UTC