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
 [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: Fri Apr 26 12:01:30 2024 UTC