formfields.com Forum Index formfields.com
FORMfields Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 3 matches
formfields.com Forum Index
Author Message
  Topic: How Do I Perform Field Value Calculations?
omegared

Replies: 5
Views: 10481

PostForum: FF 2.X - Frequently Asked Questions (FAQs)   Posted: Thu Dec 01, 2005 5:40 am   Subject: How Do I Perform Field Value Calculations?
Exmple:
Income - expense = profit
or
Profit *.5 = Commission due.

I want the calculations to show before submit then display in the confirmation screen after submit.
  Topic: How Do I Include the User's IP in the Submission Email?
omegared

Replies: 0
Views: 4280

PostForum: FF 2.X - Frequently Asked Questions (FAQs)   Posted: Wed Nov 30, 2005 7:49 pm   Subject: How Do I Include the User's IP in the Submission Email?
Simply add the following to your list of fields:

$formBean->addField(new HiddenField("ip", $_SERVER["REMOTE_ADDR"], 255));
  Topic: How Do I Define a Default Field Value?
omegared

Replies: 3
Views: 8210

PostForum: FF 2.X - Frequently Asked Questions (FAQs)   Posted: Wed Nov 30, 2005 7:46 pm   Subject: How Do I Define a Default Field Value?
Here is an example of how to define a default state value:

$formBean->addField(new StateField("state", "State", REQUIRED, "[Select One]")); ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group