Member Avatar

Ideally I would like to take a value entered from an Option List and use it in a linked program before the form is submitted,
The value would be used in a select search so that the operator then knows what to format of data to enter in the next field on the un-submitted form. Can unsubmitted form data be used in $_SESSION variables to do this? or is it possible some other way?

Thanks in advance

Stephen

Recommended Answers

PHP normally only sees the data when you submit the form. If you want a PHP program to process the data 'live' then you will need some Ajax to do that. It can get data entered into the fields and call a PHP program to deal with it.

Jump to Post

All 2 Replies

PHP normally only sees the data when you submit the form. If you want a PHP program to process the data 'live' then you will need some Ajax to do that. It can get data entered into the fields and call a PHP program to deal with it.

Member Avatar

Many thanks, I thought that might be the case.
Stephen

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.