Commit 7702572e authored by Angel Matilla's avatar Angel Matilla
Browse files

added selector for forms 10

parent fafad49d
......@@ -189,11 +189,11 @@ class GEN_EU_Registration_Dashboard {
if(isset($_POST['form-id'])){
$this->form_id = $_POST['form-id'];
$data_source = GEN_EU_Caldera_Forms_Data_Collector::get_instance($this->form_id);
echo "<hr><h2>You are viewing the data for " .Gen_EU_Form_Parameters::FORM_PICKER[$this->form_id]['label'] . "</h2>"; // Displaying Selected Value
echo "<hr><h1>You are viewing the data for " .Gen_EU_Form_Parameters::FORM_PICKER[$this->form_id]['label'] . "</h1>"; // Displaying Selected Value
echo '<hr>';
}
else{
echo "<hr><h2>You are viewing the data for " .Gen_EU_Form_Parameters::FORM_PICKER[GEN_EU_Form_Parameters::ID]['label'] . "</h2>"; // Displaying Selected Value
echo "<hr><h1>You are viewing the data for " .Gen_EU_Form_Parameters::FORM_PICKER[GEN_EU_Form_Parameters::ID]['label'] . "</h1>"; // Displaying Selected Value
echo '<hr>';
$data_source = GEN_EU_Caldera_Forms_Data_Collector::get_instance( GEN_EU_Form_Parameters::ID );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment