Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added $startResults option #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added $startResults option #19

wants to merge 2 commits into from

Conversation

codebakery-ch
Copy link

you can include a $startResults option (0/1, default is 0) to display the result window when the form has no been submitted.

I need to make some fixes to display a placeholder (or a decoy of some sort) so the $storeListOutput still gets the lists.

as a quick fix, change in your template the storeList Chunk Tag to:

<div id="storelist" [[+StoreLocator.emptyStartResult:is=`1`:then=`style="display:none"`]]>
 [[+StoreLocator.storeList]]
</div>

you can include a $startResults option (0/1, default is 0) to display the result window when the form has no been submitted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant