I'm using drupal 7.41 and have used Webform for my leave applicaiton form and there are such approvals fields that I've displayed in views, I'd like to make it editable in views by checking multiple records and it can be approved on views list page, can anybody please suggest some hints?

function hook_views_post_execute(&$view) {
  // If there are more than 100 results, show a message that encourages the user
  // to change the filter settings.
  // (This action could be performed later in the execution process, but not
  // earlier.)
  if ($view->total_rows > 100) {
    drupal_set_message(t('You have more than 100 hits. Use the filter settings to narrow down your list.'));
  • you can use this function – user57421 Feb 8 '16 at 10:22
  • also check function hook_views_pre_render – user57421 Feb 8 '16 at 10:23
  • but how may I update webform submission like Editable Views ? – Virang Jethva Feb 8 '16 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.