drupal-fapi
Form submit handlers with additional arguments
Fo开发者_如何学Cr some requirement I need to pass additional information to form submit handler. In form api, while defining custom submit handler as[详细]
2023-01-11 15:47 分类:问答Why is my form not updating as it should?
The submit handler gets the same form values no matter what I put in the form. Why??????? function edit_schoolinfo_form() {[详细]
2023-01-11 10:24 分类:问答hook_form_submit not being called
I\'m trying to submit a form and use hook_form_submit. The problem is the form is displayed via ajax and this results in hook_form_submit not开发者_如何学运维 being called.[详细]
2023-01-09 12:11 分类:问答How to reset radio buttons selections on postback?
This is a Drupal Forms question. I am working on a UI that dynamically creates rows of 3 radio buttons based on a selected date. The problem I am having is that 开发者_Go百科if I make some selections[详细]
2023-01-09 01:56 分类:问答Drupal drupal_get_form
I trying to get the twitter_admin_form and twitter_user_settings form in a div. /** * Get twitter form for user[详细]
2023-01-09 01:25 分类:问答Drupal Studs help me with my form_alter hook ( I am almost there)
So I think I am almost there conceptually but need some missing pointers. Objective is to add a few more fields to the normal user registration form, style it a little, then submit it with storing th[详细]
2023-01-03 14:11 分类:问答Registration during content creation in Drupal?
Is there an easy way to allow a user to register as he creates content type. E.g. Let\'s say there is a content type called \"listing\". When the user clicks to on a link to create it, and he\'s not l[详细]
2023-01-01 17:01 分类:问答Why would a Drupal form not be cached in cache_form?
My form, lets call it organize_issue, is a form in a custom module being called from the menu using the page callback drupal_get_form function. The form works perfectly well.[详细]
2022-12-31 19:45 分类:问答Pass form data from block to a page view in Drupal
I am using the location module and views module for a postcode search, which works fine in a page display using views.[详细]
2022-12-31 08:57 分类:问答Drupal FAPI: Add form elements on nodeform after validation
I use Drupal 6.x. In my own module I alter each node form an add my own validation handler to it using[详细]
2022-12-31 00:57 分类:问答