Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2381

Joomla! 4.x Coding • Re: How to get subform repeatable values?

$
0
0
If you use $jcField->rawvalue instead of $jcField->value you get it into a form like:

{"row0":{"field5":"just two","field8":["2"]},"row1":{"field5":"both","field8":["1","2"]}}

Is that going to be better?

This was for a subform containing a text field and a list field (as an article custom field - but I would presume it's the same for user custom fields).

Statistics: Posted by robbiej — Fri Jan 19, 2024 6:22 pm



Viewing all articles
Browse latest Browse all 2381

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>