URGENT: Need Custom Module for Custom Registration form
$30-250 USD
In corso
Pubblicato circa 11 anni fa
$30-250 USD
Pagato al completamento
I have a custom registration form ([login to view URL], profile2 fields manually added), and a custom login form ([login to view URL]), that I show on the same page in separate (javascript) tabs by using drupal_get_form('user_register_form') and drupal_get_form('user_login').
I then take that (page with the tabs) and include it on several different pages. These pages have redirects that give them specific destination queries. The idea is to let the user register and then get back to the target page they wanted before the registered (This part is working fine). I also include it on the custom [login to view URL] and [login to view URL] templates that I have made.
The problem is the submit handling and error handling. When the user clicks submit, it refreshes the page and shows a success message (apparently from the User Password Registration module). If there are errors on the form, it refreshes the page but doesn't show any errors until the next manual refresh. It just shows the page again with no warning to the user.
Searching here and Googling tell me that the problem is that because of my tricked-out forms the messages are being generated after the page loads, and that I need a custom module and probably a custom submit handler on the forms.
What I want is this:
1. User picks register tab->registers->success->forward to another page with further instructions(but still do the User Registration Password one-time link email as usual)
2. User picks register tab->registers->failure->page does not refresh->errors are shown
1. User picks login tab->success->login (already working)
2. User picks login tab->failure->page does not refresh->errors are shown
By the way, the only reason I care about not doing the refresh is so the user will stay on the same tab. The pages may have different tabs selected by default. Not married to this particular feature if there is no way around it.
This is a very serious and urgent requirement. Will want to begin ASAP. Serious replies must include some indication that you have read the project requirements. Auto-responders will be ignored.
Better solution for you is to change this form to use ajax submit. In this case user will stay inside one form, in case of error message will appear above form (even field), in case of success submit - you can redirect user to page you want.
This is a quick solution which keep all templates working and add some speed btw.
$111 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0
2 freelance hanno fatto un'offerta media di $111 USD