recentpopularlog in

therobyouknow : form   131

« earlier  
Increase flood limit and flood interval in Drupal 8 | Tamer Zoubi @ Drupal 8.1
$flood_limit = 10;
$config['contact.settings']['flood']['limit'] = $flood_limit;
flood  drupal  email  comment  form  throttle  computing  web  dev  cms  settings  howto 
november 2016 by therobyouknow
LimeSurvey Sync | Drupal.org
alternative to webform (and entityform - for a large number of fields)
form  drupal  module  computing  web  dev  cms  contrib 
june 2015 by therobyouknow
PHP array_filter | When life and coding collide
useful (with no callback) for generating an array with only the checkboxes selected listed in the array
php  checkbox  form  array  filter  computing  web  dev  howto 
may 2014 by therobyouknow
form with readonly field | drupal.org
for example:
$variables['form']['subject']['#disabled'] = TRUE;
drupal  disable  field  readonly  read  input  form  prefilled  fixed  computing  web  dev  cms  howto 
october 2013 by therobyouknow
theming - How do you theme a content type's create/edit form in Drupal 7? - Drupal Answers
great answer - one that I'm using, however it doesn't cover multiples of a specific field
theme  custom  field  hide  drupal  form  input  contenttype  edit  computing  web  dev  cms  howto 
september 2013 by therobyouknow
Render view's exposed form anywhere in a theme/module | Drupal snippets
/**
 * Returns rendered exposed form for a given view.
 * $view_name
 * - A string with a view name,
 * $display_id
 * - A string with a name of view display,
 * @return
 * Rendered exposed form.
 */
function MY_MODULE_render_exposed_form($view_name, $display_id = 'page') {
$view = views_get_view($view_name);
$view->set_display($display_id);
$view->init_handlers();
$form_state = array(
'view' => $view,
'display' => $view->display_handler->display,
'exposed_form_plugin' => $view->display_handler->get_plugin('exposed_form'),
'method' => 'get',
'rerender' => TRUE,
'no_redirect' => TRUE,
);
$form = drupal_build_form('views_exposed_form', $form_state);
return drupal_render($form);
}
Render  views  exposed  form  anywhere  theme  module  obtain  computing  web  dev  cms  howto  dropbucket  code  snippet  drupal 
september 2013 by therobyouknow
Views Exposed Filters "Setting default value?" | drupal.org
solution Views Exposed Filters "Setting default value?" -so that 'any' of the items in a drop-down menu is searched for
Views  Exposed  Filters  default  value  form  drupal  computing  web  dev  cms  solution 
august 2013 by therobyouknow
How to alter filter in exposed filters form trough form_alter hook [#364859] | Drupal
$form['ct']['#options']['All'] = 'All Cuisine Types';

- this might be a clue
drupal  exposed  filter  form  alter  computing  hook  views  web  dev  cms 
july 2013 by therobyouknow
Select Terms Using Autocomplete Deluxe Module | Web Wash
i had to run update.php / cron (?) even tho no updates required it says, it still seemed to be necessary to get autocomplete_deluxe available as a widget option. equiv to placeholder widget select2
autocomplete  module  contrib  howto  guide  dataentry  tag  tagging  taxonomy  input  ux  setup  ui  userexperience  userinterface  config  form  field  drupal  web  dev  computing  autocomplete_deluxe 
june 2013 by therobyouknow
« earlier      
per page:    204080120160

Copy this bookmark:





to read