Confirmation is easy -- the client has the right to ask for this component.
It's the method in which you want to confirm (javascript, pop-ups, etc) that
is the problem.

It can be as simple as:

submit form
page asking are you sure you want to blah blah blah
submit yes or no
action taken

No javascript needed -- all php & html.


You might want to also take a look at phpMyAdmin, which has javascript alert
style "are you sure you want to ......" ok|cancel


Justin



on 02/10/02 12:11 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

> LOL - I've been using VB for about 6 years, and I'm just beginning to
> convert over to php.
> 
> the application I am writing is for prepaid phone cards.  if they are going
> to activate a pin, inactivate, or recharge then I want a confirmation box.
> 
> I would prefer to also have a box pop up to get the value they want to
> recharge instead of having an input text box on the form.  for some reason
> people seem to over look the text box, and they tend to leave it empty vs.
> displaying a dialog box that asks for the amount they would like to
> recharge.
> 
> I need to go back to my customers, and find out how important a confirmation
> box is.  I had skimmed through the php functions, but didn't see anything
> that looked what I was looking for.
> 
> 
> "Brad Bonkoski" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> pop-up windows, reminds me of the days of visual basic programming....
>> 
>> I know you can display dialog boxes using javascript, but not sure if they
> will
>> take a value in them, just like a confimirmation type box, like "Are you
> sure?
>> <OK> <CANCEL>"
>> 
>> To the point, check some javascript references out, I know there are code
>> repositories sitting out there in cyber-space that will have at least
> something
>> to start off of.
>> -Brad
>> 
>> Justin French wrote:
>> 
>>> I don't understand.  Twice.
>>> 
>>> Tell us what you need, slowly and clearly.
>>> 
>>> Justin French
>>> 
>>> on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
>>> 
>>>> anybody???
>>>> 
>>>> anyway to pop up an inputbox that will get a variable?  also, and yes
> / no
>>>> or ok / cancel boxes I can make pop up?
>>>> 
>>>> 
>>>> "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
>>>> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>>>> is there a way to for an input box to come up looking for a value?  I
> know
>>>>> there are a few ways I could resolve my current issue, but I would
> prefer
>>>> to
>>>>> display an inputbox, and use that value in my query.
>>>>> 
>>>>> basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of
> a
>>>>> form, but then I would have to get a value to pass to the query.
> this
>>>> would
>>>>> be for prepaid phone cards.  if somebody selected to recharge then I
> would
>>>>> like an input box to be displayed asking the amount they would like
> to
>>>>> recharge.
>>>>> 
>>>>> --
>>>>> Jeff Bluemel
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to