Improved working Blocs form + Video 🎉 Update+Video

Hi Everyone! :slightly_smiling_face:

The Blocs form was missing functions, many people were looking for a solution, including me. I didn’t want to use an external form because I like the original.

Since there was no solution for it, I thought I would make it.

In the first two pictures, the date field is the main point on mobile. The date field is not visible in the default mode either on IOS or Android systems, only if you touch the field, and on IOS systems it still aligns the content to the center.

This bothered me, and I made it so that the date is visible on all platforms at the basic level, and not only when we touch the field, in the next picture you can see that the date is properly aligned to the left here.

The next thing, although it is not visible in the video, we managed to make the selection menu really mandatory. Unfortunately, it was not with the Attributes settings.

The next thing is to attach the files. Perhaps this was the biggest problem, and that’s why many people use scripts from other manufacturers, because it is necessary to attach the files.

In the video you can see that this part also works.

And a little bonus, I changed the appearance of the incoming mail a little.

How do you like it? :slightly_smiling_face:

4 Likes

Love the file attachment feature! Well done! :+1:

1 Like

Thank you @Eldar :wink:

great
interested on how u implemented everything

was searching for it for a while :slight_smile:

1 Like

Hi @SENEK

If you mean attaching the files, here’s what I did.

Very very briefly, the main steps.

I used the built-in form of Blocs, and added a field for attaching files.
I created a php file in which I incorporated the function of uploading/attaching files.
I changed the mail sending section, from Self Hosted, to Custom, and there I entered the name of the php file I created.
Then, after uploading the page to a test storage, I also copied the php file I created. These are the main points.

It was obviously more complicated than that, but now that the basics are ready, it takes about 2-3 minutes and it works on all pages.

3 Likes

Hello, a little update to the form!

A slightly improved version, with other functions, better operation, it does what it needs to do perfectly.

The Drag&Drop function is already working, of course, it is also possible to insert files.

I also corrected the “Admin” email, the attachments can be downloaded, and I also modified the preview of the files.
The automatic delivery confirmation also does its job nicely, this is also my own solution that I built into the blocs form.

In the meantime, I also changed the appearance of the email a little.
If we change the logo, the color of the navigation bar, or the name of the page in the blocs,
and update the page, the appearance of “admin” and the confirmation email will automatically update itself, and the “admin” and confirmation emails will also be sent with the new look.

@Norm can it be expected at some point that the blocs form will receive a similar update?

What do you think about it?

8 Likes

This is great. How can we get this?

1 Like

wonderful job

1 Like

Looks great! Will this be available soon?

1 Like

It partly depends on how @Norm can answer the question I asked :slight_smile:

“@Norm can it be expected at some point that the blocs form will receive a similar update?”

1 Like