This topic is locked
[SOLVED]

 Message from lookup table or details table

7/30/2011 3:35:05 AM
PHPRunner General questions
R
Rigmantas author

Hi,

This is lookup table:
id| name|warning|

1 |Peter| |

2 |Jon | |

3 |Meri |bla-bla-bla|
Is it possible in add page, when I in lookup value select Meri, near get a warning message "bla-bla-bla" from lookup table.

Thanks

Rimantas

C
cgphp 7/30/2011

Yes, you need to check in the javascript event the value of the lookup and set the content of an element (for example a div near the lookup) with the warning message. If the warning message is stored in the db you have to make an ajax request.

R
Rigmantas author 7/30/2011

Yes,

I think about Java, but in this time in Java language I have nothing.

Thanks

Rimantas

C
cgphp 7/30/2011

Not Java but javascript!

R
Rigmantas author 8/1/2011

Yes i missed. Thank you. I took the two days and now I can do this myself.

Rimantas