Maybe I am misunderstanding the purpose of this module, but is it possible to create a content type with a few number fields that get computed, then create a page based on this content type that allows an end-user(anonymous) to enter the number fields and submit?

Right now, I've created a content type with 3 number fields, and a computed field to add them up. I want an end-user to be able to enter those 3 fields. Then hit submit or calculate.

Can this be done with this module?

Comments

rovo’s picture

Just trying to get an idea of how this usually gets implemented. Do you create a content type, set the permissions so an anonymous person can create new, or is this really just aimed toward authenticated users?

I need to setup this up so that an anonymous person can fill in the fields and submit for calculation, and just trying to determine if anyone thinks this might be the wrong approach or if it is being used similarly by others?

Thank you.

colan’s picture

Status: Active » Fixed

Yes, this module can provide a computed field for you. In your supplied PHP code, you'll need to add the 2 numbers together.

> is this really just aimed toward authenticated users?

That's outside the scope of this module. You can set it up any way you want.

colan’s picture

Category: feature » support

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.