Hello,
I would like to, when the user selects a specific option on a select box, it should show or hide a give input text field.
For testing proposes... I've come up with:
I've checked on the DOM option on firebug and the Mootools is loaded.
The select_13 is the name of the select box (didn't figured out where to change it);
I can't get this alert box to show.
Should I configure something somewhere, in order to allow chrono forms to accept mootools or jquery ?
Thanks a lot in advance,
Any help will be greatly appreciated.
Mem
I would like to, when the user selects a specific option on a select box, it should show or hide a give input text field.
For testing proposes... I've come up with:
$('select_13').addEvent('change',function() {
alert("please show up...");
});I've checked on the DOM option on firebug and the Mootools is loaded.
The select_13 is the name of the select box (didn't figured out where to change it);
I can't get this alert box to show.
Should I configure something somewhere, in order to allow chrono forms to accept mootools or jquery ?
Thanks a lot in advance,
Any help will be greatly appreciated.
Mem
Hi talofo,
The code looks OK to me.
Please post a link to the form so I can take a quick look.
Bob
The code looks OK to me.
Please post a link to the form so I can take a quick look.
Bob
Thanks a lot for the quick reply. I can't post the link today because I'm out of office and I must edit it. Bu
I will provide it tomorrow.
Thanks a lot once again,
MEM
I will provide it tomorrow.
Thanks a lot once again,
MEM
Hello,
I'm back online.
The link is the above:
http://www.cases.pt/component/chronocontact/?chronoformname=conf_economia_social
I have a very simple alert box script like this:
On form administration, when I click:
"Form Code" and then go to:
"Form JavaScript"
I have the following:
I have a look into the source code of the link above, and mootools is loaded.
And the select box is indeed with an ID of select_13 ...
Any help would be greatly appreciated.
Thanks a lot
I'm back online.
The link is the above:
http://www.cases.pt/component/chronocontact/?chronoformname=conf_economia_social
I have a very simple alert box script like this:
On form administration, when I click:
"Form Code" and then go to:
"Form JavaScript"
I have the following:
$('select_13').addEvent('change',function() {
alert("hello");
});I have a look into the source code of the link above, and mootools is loaded.
And the select box is indeed with an ID of select_13 ...
Any help would be greatly appreciated.
Thanks a lot
This topic is locked and no more replies can be posted.
