Brian That is exactly what I need to do - I just have been staring at the problem so long I can't figure out how to make it work - It should be simple. I had it working before I started using fusebox methodology -( just had the form call itself and pass a parameter fill- in . The first part of the form always checked for existence. if fill-in existed it ran the query and replaced all old user info with new) I just can't figure out how to get the xfa and fbx_switch coded to do it now.
Thanks Loryn Brian Kotek wrote: > I'm jumping in here and I may not be understanding the problem > completely, but what about having the second, separate form for entering > another person's name post back to the current page. On the current > page, you default to querying and using YOUR (the current user's) LDAP > data, but if the user name form field from the secondary form is passed > in, then override that default, and query and display the LDAP data for > the person you requested in the secondary form. > > So: > > On first view, the form says > > name: Loryn Williams > Location: L'ville > mailstop: J12-02 > Type of search requested: > Patent Search: > Years: > > then the buttons > > Submit Accept Send to Triage > > Substitute another user: (username field) Go Button > > So the page loads, shows your info, you enter in Joe Smith into the > "substitute another user" form and hit go. The page reloads, and this > time Joe Smith's data is displayed in the form fields. > > Would that work? > > Loryn C Williams wrote: > > Patrick, > > How would the orig. username get passed when the form is submitted > > then? I only need the "fill in Fields" button when someone is filling > > out the form for someone else - > > Example > > Form is loaded with my information (from LDAP) > > name: Loryn Williams > > Location: L'ville > > mailstop: J12-02 > > Type of search requested: > > Patent Search: > > Years: > > > > then the buttons > > > > Submit Accept Send to Triage > > > > If I were filling out the form for someone else I would not want my > > information in the > > name, Location, mailstop fields, I want their information filled in > > when I hit the button and the form to reload so I can finish filling it > > out for them. > > > > I don't think the rest of the form information would get passed if I > > had 2 forms on one page. > > > > Loryn > > > > Patrick McElhaney wrote: > > > > > > Loryn wrote: > > > > > > > > The problem is - if the person who accesses the form wants to > > > > fill it out for someone else I want them to be able to enter the > > > > username, submit the form and have the same form returned with > > > > the new user information available. > > > > > > > Why can't you just put the username field in a separate form? > > > > > > <form method="post" action="#self#fuseaction=#xfa.changeUser#"> > > > <input type="text" name="username"> > > > <input type="submit" value="Change User"> > > > </form> > > > > > > Patrick > > > > > > > > > > > --- > ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
begin:vcard n:Williams;Loryn tel;pager:[EMAIL PROTECTED] tel;work:609-252-5955 x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] end:vcard
