On Wed, 2009-04-22 at 14:55 -0400, PJ wrote:
> Ashley Sheridan wrote:
> > On Wed, 2009-04-22 at 01:38 -0400, PJ wrote:
> >
> >> Ashley Sheridan wrote:
> >>
> >>> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
> >>>
> yeh an onclick event handler is required to achieve this. b
Ashley Sheridan wrote:
> On Wed, 2009-04-22 at 01:38 -0400, PJ wrote:
>
>> Ashley Sheridan wrote:
>>
>>> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
>>>
yeh an onclick event handler is required to achieve this. but as Shawn
has suggested radio buttons are better in th
i find var_dump, trigger_error really useful in situations like these.
just do
var_dump($_POST); var_dump($_GET);
in the action{.php} script
and u'll find a good deal of useful information
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2009-04-22 at 01:38 -0400, PJ wrote:
> Ashley Sheridan wrote:
> > On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
> >> yeh an onclick event handler is required to achieve this. but as Shawn
> >> has suggested radio buttons are better in this case.
> >>
> >> but then again if u want to dis
PJ wrote:
> Ashley Sheridan wrote:
>
>> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
>>
>>> yeh an onclick event handler is required to achieve this. but as Shawn
>>> has suggested radio buttons are better in this case.
>>>
>>> but then again if u want to disable/greyout the other inpu
Ashley Sheridan wrote:
> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
>> yeh an onclick event handler is required to achieve this. but as Shawn
>> has suggested radio buttons are better in this case.
>>
>> but then again if u want to disable/greyout the other input(like
>> textboxes, other tha
On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
> yeh an onclick event handler is required to achieve this. but as Shawn
> has suggested radio buttons are better in this case.
>
> but then again if u want to disable/greyout the other input(like
> textboxes, other than the radio button itself) u'
yeh an onclick event handler is required to achieve this. but as Shawn
has suggested radio buttons are better in this case.
but then again if u want to disable/greyout the other input(like
textboxes, other than the radio button itself) u'll hav to use onclick
event handler for the radio buttons
-
PJ wrote:
> How to deactivate checkboxes when one in a series is checked?
>
>
>
>
> So that only 1 of the other inputs could be used in a search. Probably
> do the rest with switch stuff.
> Would be neat if the deactivated checkboxes would go grey.
> Is this an HTML question? Use onclick?But I
Well if your keys are a straight sequence of numbers instead of a foreach
you can do a for loop and for those whose value is not one, set to zero.
Matt
"blackwater dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a form where I am dynamically building a bunch of checkbox
hi,
your missing some brackets "[]"!
this should work better:
AAA
SSS
regards,
Bastian
> Hello;
>
> I want to do that:
>
> I have two checkboxes:
> if first one is checked assign the value as a;
> if first one is checked assign the value as s;
> if both of them checked assign
M.E. Suliman wrote:
> Hi
>
> I know this might be a bit easy for all you experts out there. I have
> multiple checkboxes and text areas in a form. In the confirmation email
> sent to the user I manage to get the text areas to display in the email.
> How would I get the results of the checkboxe
Sounds to me like your problem is that only the checkboxes that are checked
are passed back.
e.g.
for ($I = 1; $I <= 10; $I++)
{ echo("");
echo("");
echo("");
echo("");
}
when the form is submitted 2 arrays are posted, textfield and cbox.
Textfield has 10 elements bu
[EMAIL PROTECTED] wrote:
> In am HTML form, checkboxes NOT checked are not passed
> to the PHP script called by the form.
>
> Therefore, if $name_of_chechbox_3 is not passed but it's
> used in the PHP script, it results in "Warning:
> Undefined Variable".
> In am HTML form, checkboxes NOT checke
define it :-))
boolean name_of_chechbox_3;
for example
J
<[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
.net...
> In am HTML form, checkboxes NOT checked are not passed
> to the PHP script called by the form.
>
> Therefore, if $name_of_chechbox_3 is not passed but it's
> used
I have another idea - to use javascript to change hidden value
()
When you check this box - javascript changes hidden value to 1 and submits form
(
function chkboxAndSubmit()
{
var box_name = document.GetElementById('box_name');
var chkbox = document.GetElementById('chkbox');
if (box_name
tober 26, 2001 6:13 PM
Subject: [PHP] Re: checkboxes
> Sounds like onChange to me... when you check it you change it, when you
> uncheck it you change it.
>
> - Ben
>
> Boaz Yahav wrote:
>
> > does anyone know the HTML event that knows when a checkbox has been
> > checke
Sounds like onChange to me... when you check it you change it, when you
uncheck it you change it.
- Ben
Boaz Yahav wrote:
> does anyone know the HTML event that knows when a checkbox has been
> checked and unchecked?
> So far I'm using onChange but that is not exactly what I need. I need to
>
18 matches
Mail list logo