Hint on Search Form?

S

Sean

Guest
I know that through the Internal Table Manager you can add a Hint that will show up next to the insert field box on the Insert/Edit Forms.

I'm new at this and I'm wondering if someone knows how to have the same hint show up on the Search Form and can tell me how it's done.

Thanks,
Sean
 
E

Eugenio

Guest
emmy wrote:
>
> I'd be interested to know also

I think this should be enough (even if I haven't tryed this piece of code).

Change in business_logic.php

if ($form_type == "insert" or $form_type == "update" or $form_type == "ext_update"){
$form .= "<td class=\"dadabikform\" valign=\"top\">".$fields_labels_ar[$i]["hint_insert_field"]."</td>"; // display the insert hint if it's the insert form
} // end if

to:

if ($form_type == "insert" or $form_type == "update" or $form_type == "ext_update" or $form_type == "search"){
$form .= "<td class=\"dadabikform\" valign=\"top\">".$fields_labels_ar[$i]["hint_insert_field"]."</td>"; // display the insert hint if it's the insert form
} // end if


Eugenio.

(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
Top