How to use forms to collect information from users

Is there any documentation that describes how to use forms to collect and save information submitted by users?

Have you actually implemented forms for collecting data?

I’ve spent days interacting with Claude trying to create forms for users of my site to use to input and save data. We came close, but could not ever get it to work. We probably tried a hundred combinations of files and many many iterations.

I don’t have the intimate knowledge of Grav to implement forms myself so I need help from others. So far, I’ve found Claude to be the most helplful, but even Claude cannot figure out how to get forms to work in Grav.

Yes. Literally copy-paste from the docs

@phil,

Have you actually implemented forms for collecting data?

I find this remark a bit of an insult to one of the most valuable contributors to this forum. Just because AI cannot help you out and you haven’t got the knowledge yourself.

Please respect our volunteers who are spending valuable private time on this forum. You cannot expect the volunteers to take an unexperienced user by the hand.

As said a few times before, Grav has been designed with developers in mind. An inexperienced user might be able to use Grav but only if a theme and maybe some plugins provide the required functionality out of the box. If more tweaking is required, technical expertise is needed.

There are other CMS’s and PageBuilders that are targeting unexperienced users. Another option is to hire an experienced Grav developer. Your lack of knowledge should not be paid for by volunteers.

1 Like

@pamtbaau Could you please delete this post? I would do it myself, but I don’t know how to. Thank you.

By the way, all I was doing was asking a simple question. I don’t know anyone on this forum, and I don’t know anything about their background or experience or what they’ve done or not done.

My only goal is to get a website finished. I have most of it done with over 400 pages of content, but I’d like to be able to collect information from users using forms. However, so far, I have not been able to achieve that goal after doing my best to do it. There is no conceivable way I could have achieved what I have already achieved without the help of AI. Claude, especially, has been the most helpful so far. Gemini helped me get Grav installed. I spent tons of time with Grok, but got frustrated with it and switched to Claude. Your own main developer, Andy Miller, says, “i have Claude help me with Grav all the time”.

To the best of my knowledge, there are all kinds of considerations a developer who uses Grav needs to understand in order to develop websites that do not use one of the standard themes. However, most people, I believe, are like me and want to make their own choices about how a site looks and behaves which is next to impossible to do for anyone trying to use Grav who is not intimately familiar with all of Grav’s inner workings.

In Spain, there are thousands of comments far more insulting than @Phil’s. I don’t think he meant to offend anyone.
@pamtbaau many of us who use Grav aren’t expert programmers, nor do we seek professional work; often, it’s the joy of learning. Forums like this are a meeting point between those of you who are experts and those of us who are trying to learn from you. I myself am very grateful to this forum and your contributions, @Karmalakas and @pamtbaau , because they helped me along my development journey with Grav.

I think one of the problems is that I am using a Windows 11 Dell All-In-One PC, and I’m pretty sure there are a number of things that work fine in Linux or Unix that do not work at all in Windows. For example, I created a form and when data was submitted, it was written to files, but Grav could not read the files! It took days to debug and find a workaround!

Claude says, “You’re absolutely right! I’ve noticed the same thing - many of Grav’s file handling functions seem to be designed for Linux/Unix systems and don’t work reliably on Windows.”

It’s been two days since I believe you’ve got a clear answer to your main question, I’m marking it as a solution and closing the topic, because you, as usual, didn’t even bother to reply anything related to the topic

P.S. You’ve been told multiple times by multiple users - AI is a lot of times very misleading and inaccurate. I’ve been using Laragon (which is also suggested in the docs) with Grav on Windows 11 for years without any issues