[pmwiki-users] mini - making a field required if a previous option is selected

david roundell roundelld at hotmail.com
Thu Nov 6 14:29:50 CST 2008


hello
 
i've been asked if it is possible to direct a user to fill in a second field depending on their answer to a first field.
 
for example
 
question one -
 
:Callout Required:reqcallout Is callout required overnight (*Yes;No)
 
is then followed by 
 
question two - 
 
:Callout Details:callout Who is oncall for this server (text=3*50)
 
i could use the required element as in 
 
:Callout Details:callout Who is oncall for this server ("Required"=50)
 
but this is not dependant on the user selecting 'no' on the first question.
 
i could just lose question 1 and make question 2 more vague like 'if callout is required pls state..' but was hoping
 there might be another way possible?
 
thanks
 
david r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081106/6d25f526/attachment.html 


More information about the pmwiki-users mailing list