
Hi and happy new year!
I have multiple screens. On the welcome screen the user has a choice of choosing a which form they need to fill out. When the user clicks the form, the next screen only shows the base fields needed for every form. The correct fields show up when the user clicks on the back button which takes them back to the welcome screen and clicks the form button again. On each button i have the following code:
Set(CurrentTemplate, "Counseling Memo");
Set(varBAHHeader1, JSON(Image9.Image, IncludeBinaryData));
Set(varBAHHeader2, JSON(Image10.Image, IncludeBinaryData));
Set(htmlCurrentTemplate,HtmlCounseling.HtmlText); Navigate(scr_FormandLetter)
The CurrentTemplate variable shows/hides the correct fields on the scr_FormandLetter.
The htmlCurrentTemplate captures the correct HTML template to send to data to be converted to PDF.
I only have a single screen that contains a split view of the form and HTML text. I didnt want to create a new screen for every form type because theyll be more than 20 forms by the time the app is fully completed.
I tried researching what may be causing this but wasnt able to find anything.
Thank you for your time!