Hello all,
I am new to Drupal and I dont know how to create a custom button on my form maker module
I dont want it to be a Submit button but a link button
In the form maker manual , they do mention you can make custom buttons but no mention of how and what code is used and where it is placed so beginners like me have no idea .....
I am using Drupal locally, I installed the form maker module to make a form in drupal
As you all know, form maker comes with 2 default buttons - submit and reset
I go to 'form maker' , 'add new field' , I press on the option that gives me the choice between:
1) Submit and Reset
2) Custom
I check 'Custom', I want to make a custom button called 'Take Quiz' that will take me to a Quiz already on my site - that I have created already and put under my main menu!
I have the URL of my Quiz , I just have no idea how to make the button link to another page or article on my site or to a URL in general ?
Each button has a label and a function
What should my 'Take Quiz' function be ? and where do I define that function ? Does Drupal use code in HTML , JavaScript , PHP ?
Thanks for the help!