Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Update form-display.vm#5

Draft
matt-shirey wants to merge 1 commit intohannonhill:masterfrom
matt-shirey:patch-1
Draft

Update form-display.vm#5
matt-shirey wants to merge 1 commit intohannonhill:masterfrom
matt-shirey:patch-1

Conversation

@matt-shirey
Copy link

Checked to see if the config file is even needed. If not, then don't try to load it.

Checked to see if the config file is even needed.  If not, then don't try to load it.
define("AUTH_FILE_PATH", "${formConfigContent.getChild('authFilePath').text}");
error_reporting(E_ALL);
<?php
#if( $wayToSave.text == "save-to-excel" || $wayToSave.text == "save-to-cms")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually won't work because $wayToSave is a loop variable from lines 11-19 above when setting some flags.

Instead the following will work:

#if( $excelSave == "true" || $cmsSave == "true")

@rgriffith
Copy link
Contributor

@TWG-Matt Thank you for this submission. I had a review item that will need to be addressed before it can be merged.

@bradical bradical marked this pull request as draft May 19, 2020 14:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants