Hello,
I am trying to hide certain fields on the Add/Edit forms for 1 table based on a dropdown field value on the same form using the template editor. I have not used the template editor before and am not sure where to edit.
I think what I am looking for is a way to set autopostback to true on certain dropdown fields, and in the postback code in on_load I need a way to reference fields specific to this table. When I code something similar to the following into the postback part of the Edit template on_load function:
----------------------------------------------------------
If "##SHORTTABLENAME##" = "table1" Then
'fldtable1field1.Visible = False'
End If
----------------------------------------------------------
I get an error when trying to edit any other table because it does not have a fldtable1field1. Maybe if there is a way to cycle through all ##SHORTFIELDNAME##'s for the current table, that would provide a work around?
Sorry for the broad question. If you need any more specifics let me know.
Thanks in advance for the help,
Paul