JustCode : Ask a read only question

This code will show you how to display a question on the page in Readonly mode.

Metadata(en-AU, Question, label)
    Q1 "This is my text question" text;
End Metadata

and the routing

' Designed by : Smarter Dimensions
' Last Updated : 4th August 2009
' ask a read only question
' ****************************************


' First way to make a question readonly

' Second way
QDate.Style.Control.ReadOnly = True

End Routing

Leave a Comment

%d bloggers like this: