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

Custom forms directory #374

Open
xylo04 opened this issue Sep 29, 2022 · 4 comments
Open

Custom forms directory #374

xylo04 opened this issue Sep 29, 2022 · 4 comments

Comments

@xylo04
Copy link
Contributor

xylo04 commented Sep 29, 2022

There have been a couple of questions asking about support for custom forms similar to RMS Express. This should just consist of adding another directory to scan for forms. It was reported that adding custom forms to the standard directory doesn't work; I'm surprised, that bears investigation. However, a separate directory is still needed so custom forms don't get deleted when upgrading standard forms.

@martinhpedersen
Copy link
Member

Agreed 👍

While we're at it, maybe we could make it a list so we can support arbitrary number of forms bundles?

@martinhpedersen
Copy link
Member

It was reported that adding custom forms to the standard directory doesn't work; I'm surprised, that bears investigation.

I did some digging. The user that reported this did not clarify if they attempted to add a HTML Form Template or a pure .txt template. I'm guessing the latter. As it turns out, there is a big difference.. and our forms package only supports HTML Forms. We ignore pure txt templates.

It looks to me like HTML Forms is a more formalized and feature rich version of an older(?) Message Templates feature.

The differences between a pure txt template (often referred to as "custom templates"?) and HTML Forms needs to be investigated.

You can tell the difference by looking for the Form: line at the beginning of the .txt.

@Famman49
Copy link

The form I had problems with was an HTML form.

@richcannings
Copy link
Contributor

@xylo04 and @Famman49: Send me a link to the forms you are having challenges with, and even better, the steps to reproduce the issue.

I've been tinkering with the forms system and fixed an issue with NorCal Winlink Net forms (#384).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants