Hello,
I am hiding/showing some fields in Entity form based on a Lookup value selection. As an example - From the developer tools, I can see the following in Elements - <option value = <"xxx-ssss-ffff-sss">Icecream</option>
Hence when I am writing the following code onchange event -
if($(#fieldname1).val()="xxx-ssss-ffff-sss")
{
$("#fieldname2").closest('tr').hide().
This code works perfectly fine, however I am forced to hardcode "xxx-ssss-ffff-sss" into the Entity form javascript to perform some conditional checks. Can you please guide me how can I leverage content snippet to store value of Icecream and use content snippet in my entity form or how can I use fieldname value as Icecream in my code?
@ragavanrajan @OOlashyn @ulrikke @OliverRodrigues