Foros de discusión

Dynamic Yes/No read

riddhi bhatt, modificado hace 10 años.

Dynamic Yes/No read

New Member Mensaje: 1 Fecha de incorporación: 30/09/13 Mensajes recientes
Hi,
I have implemented a radio button as follows:-

  
 <input type="radio" name="OrpAccess" value="Y">Yes   
 <input type="radio" name="OrpAccess" value="N" checked="true">No       		


Now I need to change the values such that it reads from the DB the value of yes and No is accordingly selected. Also, the No button should be selected by default.

Can you please help?

Btw, this is written in Velocity template
thumbnail
Zsolt Balogh, modificado hace 10 años.

RE: Dynamic Yes/No read

Expert Mensajes: 463 Fecha de incorporación: 23/03/09 Mensajes recientes
Hi Riddhi,

Could you please specify from what database are you trying to read and where are you trying to use this velocity templates? Without this information it would be hard to give an answer to your question.

Zsolt