If you set an argument to provide a summary if the argument is not present, then you'll next be asked which style should be used for displaying this summary. However, if you only have the argument validator configured to provide a summary when the argument does not validate, the option to choose a summary style is not presented.
There is a workaround to first set the argument to provide a summary view if the argument is not present, and then set the summary style, and then change the argument to do something else when the argument is not present. However, this is non-obvious and not very user friendly.
Comments
Comment #1
aclight CreditAttribution: aclight commentedComment #2
merlinofchaos CreditAttribution: merlinofchaos commentedWell, the other work around is to click on the 'style' link that will appear, but yes, the code that tells it to go to the next form is probably only checking the default and not the validate_fail flag.
Comment #3
aclight CreditAttribution: aclight commentedRight, but the style link only appears if you've selected to give a summary if the argument isn't present.
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedOh! Ok, so *both* checks are not checking the validate fail setting. Nice. Shouldn't be too hard to fix.
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedFortunately, this was just a change to needs_style_plugin() and was not hard. Thanks!
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.