Within a Page Contents area within a form, you get access to a preset group of keywords relating to the ID, name, note, etc for Form Questions, such as:
%question_id_12345_q1%
%question_name_12345_q1%
%question_note_12345_q1%
%question_error_12345_q1%
What doesn’t appear to be working is the generalised attribute access to the attributes (or any keyword for that matter) of a Form Question.
For starters, we can get access to the Asset ID of the question thus:
%question_id_12345_q1% (produces "q12345_q1")
and thus you’d expect that using this asset ID one would be able to be used to access/refer to keywords/attributes/etc from that asset. For instance, in any of the following ways:
%globals_asset_attribute_extra:q12345_q1% (is blank)
%globals_asset_attribute_is_required:q12345_q1% (is blank)
%globals_asset_name:q12345_q1% (as a test, is blank)
%globals_asset_name:12345:q1% (the "12345:q1" is ID the asset map shows; is blank)
%question_id_367113_q1^as_asset:asset_name% (a simple test; is blank)
you end up with blank output. In the first cases, hard-coding the asset ID don’t appear to work and neither does a keyword modifier. The final example is contrived (I know that the simpler %question_name...%
exists), but it should seemingly still work to prove that access to other keywords would too.
Essentially, I’d like to refer to any of the keywords and attributes associated with the Form Question so I can use them in any asset on Matrix – or at very least, in the Page Contents of a customised Form.
Is this possible? Is there another form of keyword to get
Tests above were performed in Matrix v5.3.3.0.