Forums

Database read text field value

relliott 25 Aug, 2017
Hello,

I have a form that I am using a data read function to pull the names of page titles to be used in a hidden field. I can see on the debugger that the data (title) for the current page I am on but I am unsuccessful in getting it into my hidden field.

Thanks

Ryan
Max_admin 25 Aug, 2017
Hi Ryan,

If you want the current page title then you may find this shortcode helpful, use it in your hidden field value box:
{page:title}

Otherwise you need to reference the value you need in the result retrieved from the database, please check this topic as an example:
http://www.chronoengine.com/forums/posts/t104155/input-text-field-value-from-readdata-database

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.