Hi,
I would like to know if it possible to have a conditional dynamic title based on a attribute field ?
I know this in python but just wondering if we can do something like that in HTML ?
Thanks you
I would like to know if it possible to have a conditional dynamic title based on a attribute field ?
I know this in python but just wondering if we can do something like that in HTML ?
Code:
def FindLabel ( [Defusion], [NOM] ):
if [Defusion] == 'Oui':
return "Municipalite" + " " + <dyn type="page" property="name">
else:
return "Arrondissement" + " " + <dyn type="page" property="name">