The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/showthread.php 26 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/showthread.php 137 forum_permissions
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1952 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1952 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 629 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
Warning [2] Undefined variable $postsdone - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Trying to access array offset on value of type null - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 2104 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3263 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3272 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3282 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3289 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3299 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3314 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 3315 - Line: 867 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 867 errorHandler->error
Warning [2] Undefined array key 2104 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key 3263 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key 3272 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key 3289 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key 3299 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key 3314 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key 3315 - Line: 1576 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1576 errorHandler->error
/showthread.php 1578 buildtree
/showthread.php 879 buildtree
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 880 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 880 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 880 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 880 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 880 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $multipage - Line: 33 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 33 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $multipage - Line: 65 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 65 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working with Swift Forms?
#6
(Sep 5th, 2010, 6:09 AM)uaenoob Wrote: Hey Diesel

i dont know if this is what your looking for but, done this a while ago and worked like a charm and stopped using it,.. the flash file attached with fla source, they are done in really old way and beginner's , it was 4 years ago SORRY !! i just removed some text and changed some cause it had some text of the client and company details.

Functionally its working fine, all you have to is define the process code in the second frame and form ID in the first frame.

form_tools_form_id = "X";
change the X to your form ID


to add the initialize line, to test it only the first time, after your done remove it ..
form_tools_initialize_form="1";

i hope i helped ..
Regards Smile


Thank you very much for your help. I have uploaded the files, changed the process code location, the form ID, and added the initialize for setting up the form. The problem I'm running into is Form Tools 2.0.2 when I get to the Test Submission step, I fill out the form, submit, but Form Tools never sees it submit, so I can't get past the Test Submission stage.

Any ideas why it's not working? Below is the only code I adjusted.

Frame 1

stop();
Stage.showMenu = false;
form_tools_initialize_form = "1";
form_tools_form_id = "66";

// Making the Default Settings
valuebox = ""
companyname = "";
building = "";
pobox = "";
tel = "";
officeno = "";
area = "";
fax = "";
tel1 = "";
tel2 = "";
fax1 = "";
fax2 = "";
website = "";
license = "";
nameofcontact = "";
contactposition = "";
mobile = "";
email = "";
managingname = "";
valuebox1 = "";
valuebox2 = "";
valuebox3 = "";
valuebox4 = "";
valuebox5 = "";
valuebox6 = "";
question1 = "";
other = "";
//
//-------------------------------------------------------
// Apply Button
apply.onRelease = function() {
valuebox = (valuebox1+valuebox2+valuebox3+valuebox4+valuebox5)
about = (radiobtn1+radiobtn2+radiobtn3+radiobtn4+radiobtn5+radiobtn6+radiobtn7+radiobtn8+radiobtn9+radiobtn10+radiobtn11+radiobtn12+radiobtn13+radiobtn14+radiobtn15+radiobtn16+other);
required._visible = true;
//
str1 = email.indexOf("@");
str2 = email.indexOf("@")+1;
str3 = email.charAt(str1+1);
str4 = email.lastIndexOf(".");
str5 = email.charAt(str4+1);
len = length(email);
counter = 1;
flag = 0;
while (Number(counter)<=Number(len)) {
Char = substring(email, counter, 1);
if (Char ne "@") {
flag = Number(flag)+1;
}
counter = Number(counter)+1;
}
//
//companyname validation
if (companyname == "") {
condition1 = "";
companynamemark._visible = true;
} else {
condition1 = "ok";
companynamemark._visible = false;
}
//building validation
if (building == "") {
condition2 = "";
buildingmark._visible = true;
} else {
condition2 = "ok";
buildingmark._visible = false;
}
//pobox validation
if (pobox == "") {
condition3 = "";
poboxmark._visible = true;
} else {
condition3 = "ok";
poboxmark._visible = false;
}
//tel validation
if (tel2 == "") {
condition4 = "";
telmark._visible = true;
} else {
condition4 = "ok";
telmark._visible = false;
}
//officeno validation
if (officeno == "") {
condition5 = "";
officenomark._visible = true;
} else {
condition5 = "ok";
officenomark._visible = false;
}
//area validation
if (area == "") {
condition6 = "";
areamark._visible = true;
} else {
condition6 = "ok";
areamark._visible = false;
}
//emirate validation
if (emiratebox.selectedItem.label == "Choose") {
condition7 = "";
emiratemark._visible = true;
} else {
condition7 = "ok";
emiratemark._visible = false;
}
//fax validation
if (fax2 == "") {
condition8 = "";
faxmark._visible = true;
} else {
condition8 = "ok";
faxmark._visible = false;
}
//businessactivity validation
if (businessactivitybox.selectedItem.label == "Choose") {
condition9 = "";
businessactivitymark._visible = true;
} else {
condition9 = "ok";
businessactivitymark._visible = false;
}
//license validation
if (license == "") {
condition10 = "";
licensemark._visible = true;
} else {
condition10 = "ok";
licensemark._visible = false;
}
//staffnumber validation
if (staffnumberbox.selectedItem.label == "Choose") {
condition11 = "";
staffnumbermark._visible = true;
} else {
condition11 = "ok";
staffnumbermark._visible = false;
}
//income validation
if (incomebox.selectedItem.label == "Choose") {
condition12 = "";
incomemark._visible = true;
} else {
condition12 = "ok";
incomemark._visible = false;
}
//profit validation
if (profitbox.selectedItem.label == "Choose") {
condition13 = "";
profitmark._visible = true;
} else {
condition13 = "ok";
profitmark._visible = false;
}
//nameofcontact validation
if (nameofcontact == "") {
condition14 = "";
nameofcontactmark._visible = true;
} else {
condition14 = "ok";
nameofcontactmark._visible = false;
}
//contactposition validation
if (contactposition == "") {
condition15 = "";
contactpositionmark._visible = true;
} else {
condition15 = "ok";
contactpositionmark._visible = false;
}
//mobile validation
if (mobile == "") {
condition16 = "";
mobilemark._visible = true;
} else {
condition16 = "ok";
mobilemark._visible = false;
}
//managingname validation
if (managingname == "") {
condition17 = "";
managingnamemark._visible = true;
} else {
condition17 = "ok";
managingnamemark._visible = false;
}
//question1 validation
if (question1 == "") {
condition18 = "";
question1mark._visible = true;
} else {
condition18 = "ok";
question1mark._visible = false;
}
//E-Mail Address validation
if (str4<=str2 || str3 == "." || str5 == "" || Number(flag) != Number(len-1)) {
condition19 = "";
emailmark._visible = true;
} else {
condition19 = "ok";
emailmark._visible = false;
}
//Catogries validation
if (valuebox == "") {
condition20 = "";
catreq._visible = true;
checkboxes._visible = true;
} else {
condition20 = "ok";
catreq._visible = false;
checkboxes._visible = false;
}
//Sending Data 2 PHP
if (condition1 == "ok" && condition2 == "ok" && condition3 == "ok" && condition4 == "ok" && condition5 == "ok" && condition6 == "ok" && condition7 == "ok" && condition8 == "ok" && condition9 == "ok" && condition10 == "ok" && condition11 == "ok" && condition12 == "ok" && condition13 == "ok" && condition14 == "ok" && condition15 == "ok" && condition16 == "ok" && condition17 == "ok" && condition18 == "ok" && condition19 == "ok" && condition20 == "ok") {
gotoAndStop(2);
}
};


Frame 2 (Obviously the * I inserted my domain.)

tel = tel1 + " - " + tel2;
fax = fax1 + " - " + fax2;
loadVariablesNum("http://********.com/secure/process.php", 0, "POST");
loadVariablesNum(feedbackpath+"?companyname="+companyname+"&building="+building+"&pobox="+pobox+"&tel="+tel+"&officeno="+officeno+"&area="+area+"&emirate="+emirate+"&fax="+fax+"&website="+website+"&businessactivity="+businessactivity+"&license="+license+"&staffnumber="+staffnumber+"&income="+income+"&profit="+profit+"&nameofcontact="+nameofcontact+"&contactposition="+contactposition+"&mobile="+mobile+"&email="+email+"&managingname="+managingname+"&valuebox="+valuebox+"&question1="+question1+"&about="+about, 0);
stop();
Reply


Messages In This Thread
Working with Swift Forms? - by jhmblvd - Feb 20th, 2010, 4:26 PM
RE: Working with Swift Forms? - by Ben - Feb 21st, 2010, 11:19 AM
RE: Working with Swift Forms? - by Diesel - Sep 2nd, 2010, 5:32 PM
RE: Working with Swift Forms? - by Ben - Sep 3rd, 2010, 9:46 AM
RE: Working with Swift Forms? - by uaenoob - Sep 5th, 2010, 6:09 AM
RE: Working with Swift Forms? - by Diesel - Sep 9th, 2010, 6:10 AM
RE: Working with Swift Forms? - by uaenoob - Sep 11th, 2010, 1:05 PM
RE: Working with Swift Forms? - by Diesel - Sep 13th, 2010, 8:56 AM
RE: Working with Swift Forms? - by uaenoob - Sep 13th, 2010, 2:32 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)