By bhupi_sc on
Hi,
I am new here with Drupal and using Drupal 7. I wants to create a admission form for my site and for that I have installed the webform module by now. I have also created one simple looking form through that.
Can someone please assist me to style my webform. I want to apply AJAX on this form, I want that as soon as mouse go over some box, sheado of that box should get change, something like that.
I am really confused and want a step by step explanation to do it. Can somebody please provide me some video tutorial for this or step by step explanation.
This would be a great help. Thanks in advance.
Regards,
Bhupender.
Comments
You can create a custom module
You can create a custom module that is applied specifically to the webform in mind. In your module, you want to do a js call to the javascript file that will modify your form.
Could you please provide me a simple example.
Hey,
Could you please provide me a single small example of it? and please if you could explain all the steps involved?
Thanks,
Bhupender.
You could do something like:
You could do something like: http://pastebin.com/vBiE8RLT
That method applies javascript to the form.
In the 'info'
In the 'info' file:
'conditional_field_js.js' should be 'conditional_field.js'. But you should get the idea from that. Everything is contained in the same 'conditional_field' module folder (whatever you choose to call your module).