Spica Posted March 4, 2015 Share Posted March 4, 2015 How to put the condition for a required field for publish and save + keep unpublished, but not for save a unpublished page? Something like Page::statusUnpublished=0 Link to comment Share on other sites More sharing options...
Spica Posted March 10, 2015 Author Share Posted March 10, 2015 After having trouble about reading my own post after some days I trie a new description: I can bind conditions on fields of a template to make it required for saving. What if I want do make it required for publishing but not for saving? So the warning only prohibits me to publish or save published pages but lets work on unpublished pages without required restrictions. Link to comment Share on other sites More sharing options...
ESRCH Posted March 10, 2015 Share Posted March 10, 2015 I believe this is actually the default behaviour. If you don't set a required value and you click on "Publish", it will display a warning and not publish it. However, it will save the change. Link to comment Share on other sites More sharing options...
Spica Posted March 10, 2015 Author Share Posted March 10, 2015 Your absolutely right. I just realized the Session: Missing required value alert and not the save before that. Link to comment Share on other sites More sharing options...
Spica Posted March 11, 2015 Author Share Posted March 11, 2015 But what, if I want to have the required messeage only on publishing (and save published) pages but not for save+keep unpublished. To have it in all cases is the default. Link to comment Share on other sites More sharing options...
ESRCH Posted March 11, 2015 Share Posted March 11, 2015 That is more difficult, and I would argue that it isn't necessary. The notice that a value is missing is a useful reminder, even if you are not yet publishing the page. 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