<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Yes there is a way for separate fields for seperate roles provided you are using auto assign role and content profile.<br>When you mark a content as content profile, you can find a tab called content profile.<br>At the bottom&nbsp; you can see an option stating use this content for a specific role which appears only if auto assign role module is installed.<br>Hence for each role there will be a single content type.<br>So create another content type and use it for other role.<br>I hope this helps.<br><br>Regards<br>Sagar<br>www.biigpiic.com<br><br>--- On <b>Wed, 9/9/09, development-request@drupal.org <i>&lt;development-request@drupal.org&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: development-request@drupal.org
 &lt;development-request@drupal.org&gt;<br>Subject: development Digest, Vol 81, Issue 7<br>To: development@drupal.org<br>Date: Wednesday, 9 September, 2009, 10:07 PM<br><br><div class="plainMail">Send development mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; <a href="http://lists.drupal.org/listinfo/development" target="_blank">http://lists.drupal.org/listinfo/development</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:development-request@drupal.org" href="/mc/compose?to=development-request@drupal.org">development-request@drupal.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:development-owner@drupal.org"
 href="/mc/compose?to=development-owner@drupal.org">development-owner@drupal.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of development digest..."<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp;&nbsp;1. RE : Creating separate registration forms for each role (fgm)<br>&nbsp;&nbsp;&nbsp;2. Re: Creating separate registration forms for each role<br>&nbsp; &nbsp; &nbsp; (rajasekharan)<br>&nbsp;&nbsp;&nbsp;3. Re: Creating separate registration forms for each role<br>&nbsp; &nbsp; &nbsp; (Ken Winters)<br>&nbsp;&nbsp;&nbsp;4. Modify environment before &amp; after block is rendered<br>&nbsp; &nbsp; &nbsp; (Olivier Jacquet)<br>&nbsp;&nbsp;&nbsp;5. Re: Modify environment before &amp; after block is&nbsp;&nbsp;&nbsp; rendered<br>&nbsp; &nbsp; &nbsp; (Daniel Honrade)<br>&nbsp;&nbsp;&nbsp;6. Re: Modify environment before &amp; after block&nbsp;&nbsp;&nbsp; is&nbsp;&nbsp;&nbsp; rendered<br>&nbsp; &nbsp; &nbsp;
 (Olivier Jacquet)<br>&nbsp;&nbsp;&nbsp;7. Re: Modify environment before &amp; after block is&nbsp;&nbsp;&nbsp; rendered<br>&nbsp; &nbsp; &nbsp; (Fred Jones)<br>&nbsp;&nbsp;&nbsp;8. Re: Creating separate registration forms for each role<br>&nbsp; &nbsp; &nbsp; (rajasekharan)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 8 Sep 2009 22:11:59 +0200<br>From: fgm &lt;<a ymailto="mailto:fgm@osinet.fr" href="/mc/compose?to=fgm@osinet.fr">fgm@osinet.fr</a>&gt;<br>Subject: [development] RE : Creating separate registration forms for<br>&nbsp;&nbsp;&nbsp; each role<br>To: "<a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a>" &lt;<a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a
 ymailto="mailto:AB5758215C066A4D8CE78D21A77DA1FC0981576C25@MBXVS01.hosting01.active24.com" href="/mc/compose?to=AB5758215C066A4D8CE78D21A77DA1FC0981576C25@MBXVS01.hosting01.active24.com">AB5758215C066A4D8CE78D21A77DA1FC0981576C25@MBXVS01.hosting01.active24.com</a>&gt;<br>&nbsp;&nbsp;&nbsp; <br>Content-Type: text/plain; charset="iso-8859-1"<br><br>A combination of auto-assign-role and content-profile-register does it. NikLP could tell you more...<br>________________________________________<br>De : <a ymailto="mailto:development-bounces@drupal.org" href="/mc/compose?to=development-bounces@drupal.org">development-bounces@drupal.org</a> [<a ymailto="mailto:development-bounces@drupal.org" href="/mc/compose?to=development-bounces@drupal.org">development-bounces@drupal.org</a>] de la part de Ken Winters [<a ymailto="mailto:kwinters@coalmarch.com" href="/mc/compose?to=kwinters@coalmarch.com">kwinters@coalmarch.com</a>]<br>Date d'envoi : mardi 8 septembre 2009
 21:30<br>? : <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Objet : Re: [development] Creating separate registration forms for each role<br><br>I believe he wants the actual form to be different.<br><br>We did something similar using the Profile module to create the fields<br>for all roles and then hook_user, hook_form, etc. to make sure that only<br>the right fields are displayed based on arg(2) (or whatever) and then<br>processed correctly.<br><br>- kwinters<br><br>Aradhana wrote:<br>&gt; Hi,<br>&gt;<br>&gt; There is a drupal module names auto assign role.. which provides same<br>&gt; functionality. We can differentiate forms on the basis of url. e.g<br>&gt; assign different url for vendors registration and different url for<br>&gt; customers.<br>&gt;<br>&gt; <a href="http://drupal.org/project/autoassignrole"
 target="_blank">http://drupal.org/project/autoassignrole</a><br>&gt;<br>&gt; Regards,<br>&gt; Aradhana<br>&gt;<br>&gt; rajasekharan wrote:<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; In a current project, I have to create a separate registration form<br>&gt;&gt; for each role. For example, "customers" has a registration form and<br>&gt;&gt; "vendors" have a registration form that is separate. Any idea how I<br>&gt;&gt; may achieve this using existing drupal modules?<br>&gt;&gt;<br>&gt;&gt; Thanks in advance,<br>&gt;&gt; Raj Sekharan<br>&gt;&gt;<br>&gt;<br><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 09 Sep 2009 02:33:37 +0530<br>From: rajasekharan &lt;<a ymailto="mailto:websweetweb@gmail.com" href="/mc/compose?to=websweetweb@gmail.com">websweetweb@gmail.com</a>&gt;<br>Subject: Re: [development] Creating separate registration forms for<br>&nbsp;&nbsp;&nbsp; each role<br>To: <a ymailto="mailto:development@drupal.org"
 href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID: &lt;<a ymailto="mailto:4AA6C6A9.60603@gmail.com" href="/mc/compose?to=4AA6C6A9.60603@gmail.com">4AA6C6A9.60603@gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Thanks much! I got what I wanted. I am going to use autoassignroles <br>module and then use the method Ken has mentioned - add profile <br>attributes and then use the necessary hooks to modify the form to show <br>the necessary fields.<br><br>Ken Winters wrote:<br>&gt; I believe he wants the actual form to be different.<br>&gt;<br>&gt; We did something similar using the Profile module to create the fields <br>&gt; for all roles and then hook_user, hook_form, etc. to make sure that <br>&gt; only the right fields are displayed based on arg(2) (or whatever) and <br>&gt; then processed correctly.<br>&gt;<br>&gt; - kwinters<br>&gt;<br>&gt; Aradhana wrote:<br>&gt;&gt;
 Hi,<br>&gt;&gt;<br>&gt;&gt; There is a drupal module names auto assign role.. which provides same <br>&gt;&gt; functionality. We can differentiate forms on the basis of url. e.g <br>&gt;&gt; assign different url for vendors registration and different url for <br>&gt;&gt; customers.<br>&gt;&gt;<br>&gt;&gt; <a href="http://drupal.org/project/autoassignrole" target="_blank">http://drupal.org/project/autoassignrole</a><br>&gt;&gt;<br>&gt;&gt; Regards,<br>&gt;&gt; Aradhana<br>&gt;&gt;<br>&gt;&gt; rajasekharan wrote:<br>&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; In a current project, I have to create a separate registration form <br>&gt;&gt;&gt; for each role. For example, "customers" has a registration form and <br>&gt;&gt;&gt; "vendors" have a registration form that is separate. Any idea how I <br>&gt;&gt;&gt; may achieve this using existing drupal modules?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Thanks in advance,<br>&gt;&gt;&gt; Raj Sekharan
 <br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Tue, 08 Sep 2009 17:26:05 -0400<br>From: Ken Winters &lt;<a ymailto="mailto:kwinters@coalmarch.com" href="/mc/compose?to=kwinters@coalmarch.com">kwinters@coalmarch.com</a>&gt;<br>Subject: Re: [development] Creating separate registration forms for<br>&nbsp;&nbsp;&nbsp; each role<br>To: <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID: &lt;<a ymailto="mailto:4AA6CBED.1040707@coalmarch.com" href="/mc/compose?to=4AA6CBED.1040707@coalmarch.com">4AA6CBED.1040707@coalmarch.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Great! <br><br>I just wanted to mention that the hooks method might not be required for <br>your particular needs. <br><br>Autoassignrole plus content_profile are pretty handy, but our specific <br>case had some elaborate requirements so we needed the hooks
 anyway.<br><br>- kwinters<br><br>rajasekharan wrote:<br>&gt; Thanks much! I got what I wanted. I am going to use autoassignroles <br>&gt; module and then use the method Ken has mentioned - add profile <br>&gt; attributes and then use the necessary hooks to modify the form to show <br>&gt; the necessary fields.<br>&gt;<br>&gt; Ken Winters wrote:<br>&gt;&gt; I believe he wants the actual form to be different.<br>&gt;&gt;<br>&gt;&gt; We did something similar using the Profile module to create the <br>&gt;&gt; fields for all roles and then hook_user, hook_form, etc. to make sure <br>&gt;&gt; that only the right fields are displayed based on arg(2) (or <br>&gt;&gt; whatever) and then processed correctly.<br>&gt;&gt;<br>&gt;&gt; - kwinters<br>&gt;&gt;<br>&gt;&gt; Aradhana wrote:<br>&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; There is a drupal module names auto assign role.. which provides <br>&gt;&gt;&gt; same functionality. We can differentiate forms on
 the basis of url. <br>&gt;&gt;&gt; e.g assign different url for vendors registration and different url <br>&gt;&gt;&gt; for customers.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; <a href="http://drupal.org/project/autoassignrole" target="_blank">http://drupal.org/project/autoassignrole</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Regards,<br>&gt;&gt;&gt; Aradhana<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; rajasekharan wrote:<br>&gt;&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; In a current project, I have to create a separate registration form <br>&gt;&gt;&gt;&gt; for each role. For example, "customers" has a registration form and <br>&gt;&gt;&gt;&gt; "vendors" have a registration form that is separate. Any idea how I <br>&gt;&gt;&gt;&gt; may achieve this using existing drupal modules?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Thanks in advance,<br>&gt;&gt;&gt;&gt; Raj Sekharan <br>&gt;<br><br><br>------------------------------<br><br>Message: 4<br>Date: Wed, 09 Sep 2009
 09:13:18 +0200<br>From: Olivier Jacquet &lt;<a ymailto="mailto:ojacquet@jax.be" href="/mc/compose?to=ojacquet@jax.be">ojacquet@jax.be</a>&gt;<br>Subject: [development] Modify environment before &amp; after block is<br>&nbsp;&nbsp;&nbsp; rendered<br>To: <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID: &lt;<a ymailto="mailto:4AA7558E.2080100@jax.be" href="/mc/compose?to=4AA7558E.2080100@jax.be">4AA7558E.2080100@jax.be</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Hi,<br><br><br>When themename_preprocess_block() is called the content of the block is <br>already rendered. I am looking for a way to modify the environment <br>before the block is rendered and a way to restore the environment <br>afterwards.<br><br>The specific use case is that I have two blocks, generated by views, one <br>showing the terms from one taxonomy and the other the titles
 of the <br>nodes belonging to that taxonomy.<br><br>When one navigates to a node the link to that node is active but I would <br>like the link to the taxonomy to be active as well. An easy way to <br>accomplish this would be to do a <br>menu_set_active_item('taxonomy/term/tid') before the taxonomy block is <br>rendered and reset it afterwards. Unfortunately this doesn't seem to be <br>possible.<br><br>The only other way I can think of is to modify the block content via <br>regular expressions in themename_preprocess_block().<br><br><br>Thank you for your time,<br>Olivier<br><br><br>------------------------------<br><br>Message: 5<br>Date: Wed, 9 Sep 2009 17:49:53 +0800<br>From: Daniel Honrade &lt;<a ymailto="mailto:mail@danielhonrade.com" href="/mc/compose?to=mail@danielhonrade.com">mail@danielhonrade.com</a>&gt;<br>Subject: Re: [development] Modify environment before &amp; after block is<br>&nbsp;&nbsp;&nbsp; rendered<br>To: <a
 ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:db20d290909090249i3ef287b1x1ceb75f412a3ee4e@mail.gmail.com" href="/mc/compose?to=db20d290909090249i3ef287b1x1ceb75f412a3ee4e@mail.gmail.com">db20d290909090249i3ef287b1x1ceb75f412a3ee4e@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>have you tried taxonomy menu module?<br><br>On Wed, Sep 9, 2009 at 3:13 PM, Olivier Jacquet &lt;<a ymailto="mailto:ojacquet@jax.be" href="/mc/compose?to=ojacquet@jax.be">ojacquet@jax.be</a>&gt; wrote:<br><br>&gt; Hi,<br>&gt;<br>&gt;<br>&gt; When themename_preprocess_block() is called the content of the block is<br>&gt; already rendered. I am looking for a way to modify the environment before<br>&gt; the block is rendered and a way to restore the environment afterwards.<br>&gt;<br>&gt; The specific use case is that I have two
 blocks, generated by views, one<br>&gt; showing the terms from one taxonomy and the other the titles of the nodes<br>&gt; belonging to that taxonomy.<br>&gt;<br>&gt; When one navigates to a node the link to that node is active but I would<br>&gt; like the link to the taxonomy to be active as well. An easy way to<br>&gt; accomplish this would be to do a menu_set_active_item('taxonomy/term/tid')<br>&gt; before the taxonomy block is rendered and reset it afterwards. Unfortunately<br>&gt; this doesn't seem to be possible.<br>&gt;<br>&gt; The only other way I can think of is to modify the block content via<br>&gt; regular expressions in themename_preprocess_block().<br>&gt;<br>&gt;<br>&gt; Thank you for your time,<br>&gt; Olivier<br>&gt;<br><br><br><br>-- <br>Daniel Honrade, Jr.<br><br>mobile:&nbsp; +63 915 903 3561<br>alternate email:&nbsp; <a ymailto="mailto:danielhonrade@gmail.com"
 href="/mc/compose?to=danielhonrade@gmail.com">danielhonrade@gmail.com</a><br>websites:&nbsp; <a href="http://danielhonrade.com" target="_blank">http://danielhonrade.com</a><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a href="http://webtheming.com" target="_blank">http://webtheming.com</a><br><br><br>When you signup for PayPal, you can start accepting credit card payments<br>instantly. As the world's number one online payment service, PayPal is the<br>fastest way to open your doors to over 150 million member accounts<br>worldwide. Best of all, it's completely free to sign up! To sign up or learn<br>more, click here: <a href="https://www.paypal.com/ph/mrb/pal=GE47NYP4D94XA" target="_blank">https://www.paypal.com/ph/mrb/pal=GE47NYP4D94XA</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<a href="http://lists.drupal.org/pipermail/development/attachments/20090909/383ee13f/attachment-0001.htm"
 target="_blank">http://lists.drupal.org/pipermail/development/attachments/20090909/383ee13f/attachment-0001.htm</a>&gt;<br><br>------------------------------<br><br>Message: 6<br>Date: Wed, 09 Sep 2009 12:03:37 +0200<br>From: Olivier Jacquet &lt;<a ymailto="mailto:ojacquet@jax.be" href="/mc/compose?to=ojacquet@jax.be">ojacquet@jax.be</a>&gt;<br>Subject: Re: [development] Modify environment before &amp; after block&nbsp;&nbsp;&nbsp; is<br>&nbsp;&nbsp;&nbsp; rendered<br>To: <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID: &lt;<a ymailto="mailto:4AA77D79.9020206@jax.be" href="/mc/compose?to=4AA77D79.9020206@jax.be">4AA77D79.9020206@jax.be</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br><br>Yes, it doesn't do this at all. Other modules set the active item to the <br>taxonomy path which activates the link to the taxonomy page but then the <br>link
 to the node is no longer active.<br><br>I want to activate two different links in two different blocks on one page.<br><br><br>Daniel Honrade wrote:<br>&gt; have you tried taxonomy menu module?<br>&gt; <br>&gt; On Wed, Sep 9, 2009 at 3:13 PM, Olivier Jacquet &lt;<a ymailto="mailto:ojacquet@jax.be" href="/mc/compose?to=ojacquet@jax.be">ojacquet@jax.be</a>&gt; wrote:<br>&gt; <br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; When themename_preprocess_block() is called the content of the block is<br>&gt;&gt; already rendered. I am looking for a way to modify the environment before<br>&gt;&gt; the block is rendered and a way to restore the environment afterwards.<br>&gt;&gt;<br>&gt;&gt; The specific use case is that I have two blocks, generated by views, one<br>&gt;&gt; showing the terms from one taxonomy and the other the titles of the nodes<br>&gt;&gt; belonging to that taxonomy.<br>&gt;&gt;<br>&gt;&gt; When one navigates to a node the link to that node
 is active but I would<br>&gt;&gt; like the link to the taxonomy to be active as well. An easy way to<br>&gt;&gt; accomplish this would be to do a menu_set_active_item('taxonomy/term/tid')<br>&gt;&gt; before the taxonomy block is rendered and reset it afterwards. Unfortunately<br>&gt;&gt; this doesn't seem to be possible.<br>&gt;&gt;<br>&gt;&gt; The only other way I can think of is to modify the block content via<br>&gt;&gt; regular expressions in themename_preprocess_block().<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Thank you for your time,<br>&gt;&gt; Olivier<br>&gt;&gt;<br>&gt; <br>&gt; <br>&gt; <br><br><br>------------------------------<br><br>Message: 7<br>Date: Wed, 9 Sep 2009 13:59:16 +0300<br>From: Fred Jones &lt;<a ymailto="mailto:fredthejonester@gmail.com" href="/mc/compose?to=fredthejonester@gmail.com">fredthejonester@gmail.com</a>&gt;<br>Subject: Re: [development] Modify environment before &amp; after block is<br>&nbsp;&nbsp;&nbsp; rendered<br>To:
 <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:177c0a10909090359y57d894d4kb35373cb0524154@mail.gmail.com" href="/mc/compose?to=177c0a10909090359y57d894d4kb35373cb0524154@mail.gmail.com">177c0a10909090359y57d894d4kb35373cb0524154@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1<br><br>&gt; The specific use case is that I have two blocks, generated by views, one<br>&gt; showing the terms from one taxonomy and the other the titles of the nodes<br>&gt; belonging to that taxonomy.<br><br>To edit view content, use hook_views_pre_render<br><br><br>------------------------------<br><br>Message: 8<br>Date: Wed, 09 Sep 2009 22:08:02 +0530<br>From: rajasekharan &lt;<a ymailto="mailto:websweetweb@gmail.com" href="/mc/compose?to=websweetweb@gmail.com">websweetweb@gmail.com</a>&gt;<br>Subject: Re: [development] Creating
 separate registration forms for<br>&nbsp;&nbsp;&nbsp; each role<br>To: <a ymailto="mailto:development@drupal.org" href="/mc/compose?to=development@drupal.org">development@drupal.org</a><br>Message-ID: &lt;<a ymailto="mailto:4AA7D9EA.8060408@gmail.com" href="/mc/compose?to=4AA7D9EA.8060408@gmail.com">4AA7D9EA.8060408@gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>I tried the content_profile method suggested by Ken Winters, for <br>creating a separate registration form with extra custom fields. I was <br>able to add fields to the registration form. But now I am faced with <br>another problem - even the default registration form shows the fields <br>that I have added for the suppliers' form. Is there anyway some of these <br>field can be restricted to the reg form for only certain roles? I am <br>using this in conjunction with the autoassignrole module.<br><br>Thanks in advance.<br>Raj<br><br>Ken Winters
 wrote:<br>&gt; Great!<br>&gt; I just wanted to mention that the hooks method might not be required <br>&gt; for your particular needs.<br>&gt; Autoassignrole plus content_profile are pretty handy, but our specific <br>&gt; case had some elaborate requirements so we needed the hooks anyway.<br>&gt;<br>&gt; - kwinters<br>&gt;<br>&gt; rajasekharan wrote:<br>&gt;&gt; Thanks much! I got what I wanted. I am going to use autoassignroles <br>&gt;&gt; module and then use the method Ken has mentioned - add profile <br>&gt;&gt; attributes and then use the necessary hooks to modify the form to <br>&gt;&gt; show the necessary fields.<br>&gt;&gt;<br>&gt;&gt; Ken Winters wrote:<br>&gt;&gt;&gt; I believe he wants the actual form to be different.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; We did something similar using the Profile module to create the <br>&gt;&gt;&gt; fields for all roles and then hook_user, hook_form, etc. to make <br>&gt;&gt;&gt; sure that only the right fields
 are displayed based on arg(2) (or <br>&gt;&gt;&gt; whatever) and then processed correctly.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; - kwinters<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Aradhana wrote:<br>&gt;&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; There is a drupal module names auto assign role.. which provides <br>&gt;&gt;&gt;&gt; same functionality. We can differentiate forms on the basis of url. <br>&gt;&gt;&gt;&gt; e.g assign different url for vendors registration and different url <br>&gt;&gt;&gt;&gt; for customers.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; <a href="http://drupal.org/project/autoassignrole" target="_blank">http://drupal.org/project/autoassignrole</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Regards,<br>&gt;&gt;&gt;&gt; Aradhana<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; rajasekharan wrote:<br>&gt;&gt;&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; In a current project, I have to create a separate registration
 <br>&gt;&gt;&gt;&gt;&gt; form for each role. For example, "customers" has a registration <br>&gt;&gt;&gt;&gt;&gt; form and "vendors" have a registration form that is separate. Any <br>&gt;&gt;&gt;&gt;&gt; idea how I may achieve this using existing drupal modules?<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Thanks in advance,<br>&gt;&gt;&gt;&gt;&gt; Raj Sekharan <br><br><br><br>------------------------------<br><br>--<br>[ Drupal development list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br><br>End of development Digest, Vol 81, Issue 7<br>******************************************<br></div></blockquote></td></tr></table><br>
      <!--1--><hr size=1></hr> Love Cricket? Check out live scores, photos, video highlights and more. <a href="http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com" target="_blank"> Click here</a>.