Button doesn't work on web

Hi there,I’m in trouble w/ a button on a web-form. It has “style display:none” and is triggert via JS: “Javascript:document.forms[0].buttonName.click()”.

The button should send a mail to me. But I only get an “Entry not found in index”-error.

When I’m copying the form to an other DB, is works :-/

By then way: the button doesn’t contain any @lookup any more…

Any idea, why this happens?

TIA,

Buzzy

Subject: Button doesn’t work on web

There, where you set style=“display:none”, you must set above style field, fields: Name and Id (f.e. the same value).

Subject: RE: Button doesn’t work on web

Oh well, I did this - in my example the button’s name is “lookUp” - and I’m calling it this way: “JavaScript:document.forms[0].lookUp.click()”…

Buzzy

Subject: RE: Button doesn’t work on web

I don’t think that’s it. If the Name value isn’t filled then a JavaScript error would be occur, complaining that the object is undefined. The Id value isn’t necessary.

Subject: Button doesn’t work on web

On the web the “Entry not found in index” error also refers to design elements that are not found. For example, if your button uses the RunAgent command to start an agent that doesn’t exist, you will get the “entry not found” error.

If the form works in another database then that database may contain a necessary design element that the first one does not. That’s just one possibility.

Subject: RE: Button doesn’t work on web

Well, I tried it w/ a @MailSend(“sebastian grund” ; “” ; “” ; “subject” ; “” ;“body”) - didn’t work on one DB, did on the other :frowning:

Are there any DB- or form-proberties which could cause this???

But thanks for the hint!

Buzzy

Subject: RE: Button doesn’t work on web

I think that your database has to have a default view or a default form (or both) set for @Mailsend to work. Check that and post back!

Emily.

Subject: RE: Button doesn’t work on web

Hi Emily,nope - didn’t work :frowning:

Maybe the DB is corrupt…when I tried it in a brand-new DB w/ only this one form, it worked both w/ @Mailsend and @Dblookup (my primary goal)…

Thanks,

Buzzy

Subject: RE: Button doesn’t work on web

Well, I tried it w/ a @MailSend(“sebastian grund” ; “” ; “” ; “subject” ; “” ;“body”) - didn’t work on one DB, did on the other :frowning:

Are there any DB- or form-proberties which could cause this???

But thanks for the hint!

Buzzy