Oliver Posted February 18, 2012 Share Posted February 18, 2012 As I have been trying to optimize the input masks for page editing for a client a lot lately, I wondered, why there is - on setting up a new field - just an option to make its input field be shown collapsed when empty, but none to make it collapsed when a value is set. The point is, that there are some kinds of page data that has to be set on creation of a new page (e.g. categories, publication date or author) and it's very unlikely this data will be changed later on very often - or at all - in contrary to other data of the page. So it would be a nice feature to be able to force these fields' inputfields to be expanded as long as they are empty and to show them collapsed as soon as a value has been saved. A kind of "do it once and forget" setting that keeps the input form clean and allows to guide the editor's attention. Link to comment Share on other sites More sharing options...
diogo Posted February 18, 2012 Share Posted February 18, 2012 You also can put those setting on another tab. But I agree that it's good to have these kind of options when designing the edit page. Link to comment Share on other sites More sharing options...
Oliver Posted February 18, 2012 Author Share Posted February 18, 2012 I know the tab thing, but then the fields are out of sight and out of mind. I've been using the tabs e.g. for page specific SEO data. But often I want the editor to see the field right away when he edits the page for the first time. Link to comment Share on other sites More sharing options...
Soma Posted February 18, 2012 Share Posted February 18, 2012 I dont' think this would be a big deal. By that I mean to support it, it would just be the opposite of the one we got already. Though I could get confused when using both. But certainly something to consider. Link to comment Share on other sites More sharing options...
ryan Posted February 20, 2012 Share Posted February 20, 2012 Seems like a good idea, and it will be easy to add. I'll plan to add this. Thanks for the idea. Link to comment Share on other sites More sharing options...
ryan Posted February 21, 2012 Share Posted February 21, 2012 This option has been added in the latest commit. You'll see it when editing any field from the 'input' tab. From the API, it's Inputfield::collapsedPopulated 1 Link to comment Share on other sites More sharing options...
Oliver Posted February 21, 2012 Author Share Posted February 21, 2012 I’d say, you are my personal hero, ryan. But I am afraid of repeating myself. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now