Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use it for questions about the Form API. Don't use it for entity or entity field forms.
-1
votes
2
answers
1k
views
getting form title
I have a form created by using custom module, I can get all the fields but now how should I get the form title? below is the code to get the specific field in .module file.
$form['name'] = array(
'# …
1
vote
3
answers
163
views
How to create a contact form using FAPI in a custom module?
I want to create a contact form using FAPI my custom module.
I created 2 files: one is .info and the other is .module. But I do not understand how I should link that module with my template name page …
0
votes
3
answers
78
views
Custom module for form
I have created form by implementing custom module. Can anybody please guide about writing submit function for my form.
function custom_form_module_form($form,&$form_state) {
$form['name'] = array(
…