THEME
TRAVEL
date
local
Time
airport
flight number
ticket number
AGENDA
date
local
Time
horario2
documents
description
comments
contact
MUSICAL
date
local
Time
BIRTHDAY
name
date
phone
NOTES
details
obs
contact
HI I NEED HELP!
HAVE A TABLE with five main themes
to add and edit like to select the theme to hide the other fields
SCRIPT NO WORK IN EDIT PAGE
var ctrlStatus = Runner.getControl(pageid, 'motivo');// fieldname
function func()
{
if (ctrlStatus.getValue()=='PASSAGENS')//value
{document.getElementById("hidediv1").style.display="none";// hidediv1 <TR id=hidediv1> Deactivates row or block
//Then edit HTML code for this page on the Visual Editor tab in HTML mode
}
else
{document.getElementById("hidediv1").style.display="table-row";
}
}
;
ctrlStatus.on('click', func);