1
Hey,
I have created a framework with two forms (1) Membership Application Form and (2) a Dummy Form. From this primary form I am able to extract a membership directory using Pageworks. My problem is that our organization wants to approve the application before it is included in the Directory. Here is the code for the membership directory provided that you have specified the handles in the Framework Edit Page.
echo "".'Membership Directory:'."";
print "
";
print "
";
foreach($data2 as $entry) {
$ids = internalRecordIds($entry, "AAOSS_Members");
$id = $id[0];
print "Name: ".display($entry, "lastname").", ";
print "".display($entry, "firstname")." ";
print "".display($entry, "middleinitial")." ";
print "".display($entry, "suffix")."
";
print "Profession: ".display($entry, "profession")."
";
print "Degree: ".display($entry, "degree")." ";
print "".display($entry, "otherdegree")."
";
print "Email: ".display($entry, "email")."
";
print "Business Address: ".display($entry,
"businessaddressname")."
";
print "Address1: ".display($entry, "address1")."
";
print "Address2: ".display($entry, "address2")."
";
print "City, State Zip: ".display($entry, "city").", ";
print "".display($entry, "state")." ";
print "".display($entry, "postalcode")."
";
print "Telephone: ".display($entry, "telephone")."
";
print "Fax: ".display($entry, "fax")."
";
print "
";
print "
";
}
My question is how can I frist approve the application and then allow the approved applications print into the membership directory. I have some idea but I am not sure about implementation.
idea:
1. have a 2nd form with a yes/no button that links to the application lastname and $uid.
Any assistance is appreciated in Advance. al