New form component

I did add..made no difference

1 Like

@ben
After upgrading to the latest version of PHP available on my server , I’m still stuck.

PHP is OK, I checked with the apicheck.
I’ve also added the error/success components, but they don’t work either.
I think that there is some configuration missing, but don’t know where.
Here’s the URL to the form:
https://destinations2see.online/page/?apicheck

@Godber :
I just wanted to clarify that the error messages I’ve mentioned before are not coming from the components. I see them in the inspector of my browser:

as soon as you go into code im outta here…but I get a green bar when I add the check but nothing is in it to say what version etc

wow…its just started working on one of my sites
all good

spoke too soon…it only works if I e mail myself from myself hahahahah
if I try sending from one of my 3 other e-mail account dont work

I have started to play with the Form component and it is not working. Looking in the JavaScript console there is an error that it can’t find com.realmac.apipack etc. I have confirmed that directory structure does not exist only com.realmac.corepack;
Screenshot 2025-03-21 at 11.29.58

At least the data collection from the form seems to work, but apart from that - still stuck.

Thanks for all the feedback so far, we’re looking into the Form issues now — Stay tuned for updates!

I’ve had this too at first.
Try to republish your entire project. I’ve noticed that a lot of new PHP Files are published to the server once you do that. Afterwards, you don’t get this error (although it’s still not working for some other reason)

could you try a “Re-Publish All Files”?

Also, are you publishing to a sub-folder or the root of the domain?

I just wiped the whole site and did a republish all. I was using email for the form submission. It still only had com.realmac.corepack
I switched the form to use WebHook, did (just) a Publish and the folder appeared and both email and WebHook methods work
I hope that helps.

for those following along and having issues with the Form - could you try a “Re-Publish All Files” to ensure everything has been published to your server.

so just to confirm, both the Email and Webhook features of the Form are working for you?

They are now. Thanks

1 Like

works if I use my own email to myself…if I use my apple one it wont send

Do you mean it only works when the To Address is an email that’s set up on the SMTP server you’re using?

That could make sense as some SMTP servers have restrictions in place to prevent spam or unauthorised use, so they may only allow sending to addresses associated with the same domain or server – you would have to check with your email provider about this.

I do know that you can use Gmail as your mail server and send to any address, so that might be an option if you need to do this.

I wiped the whole site, renamed the site of the Mailform and performed the “Re-Publish All Files” from the upper left corner of Elements. However, there were only approx. 72 files uploaded. The API folder that @RussOggi255 mentioned earlier was not there.
Then, I performed “publish current page” from the “File” menu, and there were approx. 680 files uploaded (many PHP). Apparently “Re-Publish All Files” does not work correctly. By the way, I have already noticed this with previous mistakes. But unfortunately, the mail form still doesn’t work. New URL is here:
https://destinations2see.online/Mailform/mailform_index.html

1 Like

ive sent dan a video hope that explains it better…

Fun fact:
If I remove the API-Folder, at least the error-component works.
If the API folder is on the server, the error-component doesn’t work (pushing the submit button leads to no visible reaction on the website)

OK, finally fixed it :sweat_smile: :partying_face:
Had to delete all files again and reuploading with several menu commands.

and they have stopped working again with the same web hook file missing
Screenshot 2025-03-21 at 14.51.38

The com.realmac.api/api/ folder is there but not the weebook file/folder