Form set up as instructed on forum but is not working

Form set up as instructed on forum but is not working
Please guide me :smiley:






1 Like

@KAdrian

Seems fine, could you share link so I can debug?

1 Like

@KAdrian

The “Form” element is actually not form but section :slight_smile:
You need to change it to form tag.

Click on that “form” labeled section
image

Then right click here to change it to actual form
image

1 Like

Ohh, I totaly missed that LOL :smiley: , Thanks allot :smiley:

You’re welcome :slight_smile:

I tested the form on your website and seems to be working properly, you should see the submission in your admin panel.

1 Like

Yes is working , 1 more thing :smiley: how I can see the actual form ?
And I set up an email address to send the form too but is not working

@KAdrian

When you enter the form, you will see the “Submissions” tab to enter and see your submissions.

Believe or not, we are currently working on a micro service which will be sending emails from form submissions.

The first part (entering email) was finished I believe 1-2 days ago, so that’s why you are able to enter the email, and tonight comes the second and final part.

So I’ll keep you updated but hopefully in next 1-3h should be done.

1 Like

Perfect thanks :smiley:
keep up the good work !

1 Like

@KAdrian

Can you check if you are receiving mails now? :slight_smile:

1 Like

Is working * excellently.

1 Like

@dejan Is there a way to add a delivery option to call a javascript function ?
I want to call a strapi API to capture entered info.

HI @xmasrock

Yes, you can use JS to catch form submission and execute you code.

mdEvents.Fn('catch', 'forms.success', function(data)
{
  /* data - object contains fields and form information */
 console.log(data);
});
1 Like

@dejan , I’ve read another post where you’ve mentioned that (even with the form id to make sure the code applies to the right form), but I wasn’t able to get it work.
Where should I put that?
Inside into the custom code Body End ?

I got it. Form ID is the DH one

@xmasrock

I would suggest using FIles system inside builder for better organization. Make sure that file is onReady type so it get’s executed only once.

1 Like

hummm I got undefined when trying to use data.form.contact_email (data.form.id works)

@xmasrock

I believe it’s data.fields.contact_email, but do console.log(data) to see what object contains first.

for the record, it is data.form.data.form_email

@xmasrock

Documentation will solve this issue, hopefully next month, but as for now, your response will have to do for others, so thanks for that :smiley:

2 Likes