The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Assigning a different View to different Submissions - 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: Assigning a different View to different Submissions (/showthread.php?tid=1556) |
Assigning a different View to different Submissions - Mark - Aug 24th, 2011 Hi Ben, We have a form called 'Branded Stationary' where clients can login and update the text content of their office stationary, ready for monthly ordering. Clients can only edit the pre-defined entries, they cannot add new ones (so new submissions are disabled, as is the delete feature). For example: A client logs in and has 'Pens' and 'Business Cards' as separate submissions in the 'Branded Stationary' form. When they open 'Pens' to edit their monthly business tag line, they see fields such as 'Pen Color' and 'Business Tag Line' etc. Likewise, when they edit the 'Business Cards' option, they get the same fields but they still see 'Pen Color' - So, in another view, we've changed that to read 'Card Color'. However, the Views are only selectable via the top drop-down menu, not the Edit icon next to each Submission. We have hidden the View drop-down menu to clients. So, my question is (without creating a form for each Stationary item we offer branding) is it possible to assign a View to particular Submissions? My initial idea would be to create an additional field in the Form where the 'View ID' is entered by the Admin user (hidden to the end client). Then re-linking the Edit icon to be dynamic, dependant on the 'View ID' specified for that Submission? In your opinion, what would be the best way to achieve this? Hope this makes sense. - Mark RE: Assigning a different View to different Submissions - Ben - Aug 24th, 2011 Hey Mark, Yeesh, tricky one. Those two pages: edit submission & submission listing page were designed to go hand in hand. The submission listing page will only ever list the content of a single View. However, in order to do what you want - show different content on the Edit Submission page, the only way to do that *would* be with different Views. Huh! It's possible there would be some way to circumvent it with the Hooks Manager module, but it wouldn't be terribly elegant. You're on 2.0.6, right? - Ben RE: Assigning a different View to different Submissions - Mark - Aug 24th, 2011 Hi Ben, Thanks for the quick response - Yes I'm on the latest release... Thanks - Mark RE: Assigning a different View to different Submissions - Ben - Aug 24th, 2011 Hey Mark - sorry, do you mean 2.1.0 or 2.0.6? 2.1.0 is now the standard build, so I just wanted to double-check! - Ben RE: Assigning a different View to different Submissions - Mark - Aug 24th, 2011 Hi Ben, My bad! I meant we have 2.1.0! - Mark RE: Assigning a different View to different Submissions - derin123 - Aug 23rd, 2021 (Aug 24th, 2011, 8:07 AM)Mark Wrote: Hi Ben, Qualities of business greatness vary from one profession to another. We cannot say that one business is superior to another one. Because all of them have different best master thesis writing service aspects and we have to handle them also in quite different forms to another one. RE: Assigning a different View to different Submissions - Kayne909 - Sep 23rd, 2021 (Aug 24th, 2011, 6:27 AM) pid=\5850' Wrote:British Essay Writers urges that you persist on forward and reconsider your decision. If you need assistance, this online dissertation writing will offer you the support and help you need to complete your dissertation. |