I am using the Direct list editing option as explained in Max' tutorial in Q&A for CCv5. In order to present the user some pre defined selection options, What I have is something like this:
WED.veld:<select size="1" class="" title="" name="WED[{WED.cf_id}][veld]" class="form-control A" size="5"><option value="">{WED.veld}</option><option value="1">1</option><option value="2">2</option></select>
In stead of 1, 2, I would like to write some code to extract data from the database and present as select options. However, the Fields setting does not seem to allow PHP code. Is there a way to do that?
Johan
WED.veld:<select size="1" class="" title="" name="WED[{WED.cf_id}][veld]" class="form-control A" size="5"><option value="">{WED.veld}</option><option value="1">1</option><option value="2">2</option></select>
In stead of 1, 2, I would like to write some code to extract data from the database and present as select options. However, the Fields setting does not seem to allow PHP code. Is there a way to do that?
Johan