cancel
Showing results for 
Search instead for 
Did you mean: 

FormCalc - Subform - HIDDEN

Kanagaraja_L
Active Contributor
0 Kudos

Dear Formcalc Gurus,

I want to check one Field value, if the Value equal to "This" then i want to hidden the preceeding subform.

Code

{if (HIDDEN_IF_CONSIGNEE.FINAL_STOP.STOP_IF_MULTIPLE = "CONSIGNEE") then}

" Here I want to check Highlighted Field has the value "CONSIGNEE"

{$.HIDDEN_IF_CONSIGNEE.presence = "hidden"} " This Line of code Working Fine

XML

{<subform h="34mm" name="HIDDEN_IF_CONSIGNEE" w="200mm" y="34mm">

<bind match="none"/>

<subform h="34mm" name="FINAL_STOP" w="100mm">

<bind match="none"/>

<field h="4mm" name="STOP_IF_MULTIPLE" w="100mm" y="0mm">}

Help me to solve the issue.

Thanks for your Replies

Kanagaraja L

Accepted Solutions (1)

Accepted Solutions (1)

former_member189058
Active Contributor
0 Kudos

Hi Kanagaraja,

On Exit of STOP_IF_MULTIPLE do the following,...


if ($.rawValue == "CONSIGNEE") then
  xfa.form.. ..HIDDEN_IF_CONSIGNEE.presence = "hidden"
endif

Regards,

Reema Shahbazkar.

Answers (0)