Active
Project:
Invite
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
29 Aug 2012 at 16:44 UTC
Updated:
16 Jan 2017 at 22:20 UTC
Jump to comment: Most recent
Comments
Comment #1
flefle commentedI just found out that while using the invite_block_form($remaining_invites) wit form action changed to the page subject and message fields are missing. This causes that the invite send function fails due the body and subject field missing.
Except of that the block functionality is not clearing the unset($_SESSION['invite_failed_emails']); so if you enter one wrong email, the next time the variable will make the form send fail.
Comment #2
DevJoshLopez commentedi would like to come up with a way to just send an invite quickly as well. I think it would be better for users to not have to fill in anything but an email field and click a submit button. Related to UX is another thing, I am also looking for a way to redirect on a failed attempt of the invite if a user is already in the system. This should just redirect to add the relationship to the user
Comment #3
akalata commentedHere's how I solved the "please don't redirect this form submission".
in a form_alter targeting $form_id 'invite_form':
Then I copied and edited invite_form_submit: