How to read data

Yudhizth 28 Oct, 2014
How to read data when we type parameter?
For example, I have form that only contain textbox and button. When I type registration id, and click submit button. There will displaying data depends on registration id .
Thanks
Max_admin 28 Oct, 2014
Answer
You can use the "Conditions" box in the "db read" action:

<?php
return array("db_field_name" => $form->data("form_field_name"));


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Yudhizth 29 Oct, 2014
Thanks Max,
And how to display the result?
Is we have to configure on found and on not_found event?
Max_admin 29 Oct, 2014
Yes, you probably want to use the "on found" event, and you can pick any action based on what you want to do with the result.

You can try the "Display message" action and use:
Test text {field_name}
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.