AutoFormPlus (EMail only): No node exists with id '-2' Options
Arnim
Posted: Monday, September 17, 2007 12:50:03 AM

Rank: Devotee

Joined: 5/31/2007
Posts: 54
Location: Kirchheim Teck, Germany
Hello,

I'm trying to create an contact-form using the great AutoFormPlus. Since I don't need any database-entries only an email send to me I want'd to use 'Edit AutoForm Plus - email (no save)'.

But even though I filled all fields - I guess - like I should, I get the following error when the user tries to send the form:

System.ArgumentException: No node exists with id '-2'


What could be wrong?

Thanx, Arnim.


What the heck is PHP? ;-)
Arnim
Posted: Monday, September 17, 2007 12:58:56 AM

Rank: Devotee

Joined: 5/31/2007
Posts: 54
Location: Kirchheim Teck, Germany
Now I tried the complete version with storing in database and email -> works fine.

But as far as I can see, the fielddata the user enters is not send within the email? Is there a way to include the fielddata in the reply email?

Thanx again, Arnim.

What the heck is PHP? ;-)
neehouse
Posted: Monday, September 17, 2007 3:55:55 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
Yes, in the message, add [#FORM] where you want the data to display. You can also customize the message using [property] to include the fields of the form.



• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
neehouse
Posted: Monday, September 17, 2007 3:58:46 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
I will look into the error.. First thing I notice is the id.. I must have coded something wrong :P Will see if I can reproduce and fix.

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Arnim
Posted: Monday, September 17, 2007 1:42:18 PM

Rank: Devotee

Joined: 5/31/2007
Posts: 54
Location: Kirchheim Teck, Germany
Casey Neehouse wrote:

Yes, in the message, add [#FORM] where you want the data to display. You can also customize the message using [property] to include the fields of the form.


Yeah! Quite cool this feature and exactly the way I hoped it would work! Great work!

Regarding the node -2 error: You get the same error, when you use the complete version and don't select a 'Save or Edit node location.'. I guess in email-only you simply hide some fields but your logic still tries to save something or at least tries to access the specified save-node.

Greets, Arnim.

What the heck is PHP? ;-)
Arnim
Posted: Monday, September 17, 2007 2:09:30 PM

Rank: Devotee

Joined: 5/31/2007
Posts: 54
Location: Kirchheim Teck, Germany
One more Question: How do I insert a line break to the email?

One more "Error": In 'Edit AutoForm Plus - Form' the field for 'Text to display upon successful...' is not a multiline textfield, but only a very small single linedit. In the complete version its a big one as it should be!

Greets, Arnim.

What the heck is PHP? ;-)
neehouse
Posted: Wednesday, September 19, 2007 5:45:18 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
I have corrected the -2 bug and also fixed the package file for the wrong control type. Get the updated package on codeplex

To update, you can simply copy the dll (from the umb zip file) into your bin directory, and edit the offending macro property...

or...

Delete all AF+ Macros and the AF+ CSS, and reinstall the package...

#1 is easier...

Case

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Arnim
Posted: Wednesday, September 19, 2007 3:54:50 PM

Rank: Devotee

Joined: 5/31/2007
Posts: 54
Location: Kirchheim Teck, Germany
Hey - super fast response - excellent!

The '-2' issue seems solved. But I still get a small text-input-field when using 'AutoFormPlus - Form'. But maybe its an catch problem?

Greets, Arnim.

What the heck is PHP? ;-)
thomas.stock
Posted: Friday, September 21, 2007 12:13:42 PM
Rank: Devotee

Joined: 6/4/2007
Posts: 42
great, thanks for the update :)

ran into the same problem with the package I downloaded from your site. (maybe update that one too)

new @ umbraco
neehouse
Posted: Friday, September 21, 2007 10:27:15 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
Sorry about that.. I have updated my copy as well.

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.