The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Anyway to have client login and see the results of a certain form - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Anyway to have client login and see the results of a certain form (/showthread.php?tid=282) |
Anyway to have client login and see the results of a certain form - Chilli - Sep 9th, 2009 When a client logs in, they see the form page, where they have to then click "view" to see the results. I have only one form and will always have one form for my use of Form Tools, and I want the client to login and see the view results of that form, instead of having to click on the view form button to see them. If I have to edit the code or database, that's fine, I just need a way to have after they login to go to the view page. I figured a way in the code to do it in Form Tools v1, but can't seem to find a way to do it in v2. Any ideas? RE: Anyway to have client login and see the results of a certain form - Ben - Sep 13th, 2009 Hi Chilli, Sorry for not getting back to you sooner. FT2 actually DID have that functionality before the first Beta release, but I dropped it because I was afraid it might cause confusion. Basically it's just a UI problem: when editing a client account, the "login page" field is on the Settings tab. It would seem appropriate to add the forms that that user is assigned to in that dropdown so that you could pinpoint which form the user gets redirected to when they log in. *However*, since you can assign forms to clients on other pages (e.g. the Edit Client -> Forms tab), you could unassign a client from a form that has been marked as their login form. In that case, I'd need to reset their login page to something else, which could be surprising to people who (for example) accidentally unassign a user from a form, then reassign them. I try to shy away from creating "hidden" issues like this. Drupal does it all over the place, which drives me barmy. You change a setting somewhere then you don't realize you need to change OTHER settings on other pages in order to make it work the way you want. But being able to log in directly to a specific form DOES seem reasonable. Eesh. I guess I'll have to give it some more thought. One option would be to alert a message to the user letting them know that a user's login page just changed. - Ben |