ADDT Dynamic Form + TinyMCE

Gunter,
I have followed your tutorial on adding TinyMCE to ADDT's Dynamic Form. It works great when editing 1 record at a time, but when I choose to edit more than one record at once, it does not work. Specifically, the tinymce toolbars will load/appear for the appropriate textareas, and the textareas will appear as well, but the textareas are empty and will not allow you to type in them.
Any ideas on making it work properly for multiple edits? Thanks for any help.
I am using:
Dreameaver CS3
ADDT 1.0.0
PHP5/MySQL5
Code below:
Script in HEAD:
<!-- TINYMCE -->
<script type="text/javascript" src="../Scripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
editor_selector : "bioText",
</script>
<!-- END TINYMCE -->
Instance used in BODY:
<td class="KT_th"><label for="bioText_<?php echo $cnt1; ?>">Bio Text:</label></td>
            <td><textarea name="bioText_<?php echo $cnt1; ?>" id="bioText_<?php echo $cnt1; ?>" cols="50" rows="15" style="width:500px" class="bioText"><?php echo KT_escapeAttribute($row_rsbmg_bios['bioText']); ?></textarea>
                <?php echo $tNGs->displayFieldHint("bioText");?> <?php echo $tNGs->displayFieldError("bmg_bios", "bioText", $cnt1); ?> </td>
Thanks. Any help appreciated.
DL

dloval wrote:
Gunter,
I tried what you recommended (remove the trailing comma), but the problem persists. My code now reads in the head as follows:
<!-- TINYMCE -->
<script type="text/javascript" src="../Scripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
editor_selector : "bioText"
</script>
<!-- END TINYMCE -->
Well, I see that you´re using TinyMCE´s "advanced" theme, but without specifying any additional theme options like what you see on the TinyMCE website itself and in the sample script I provided -- dunno if this happens because of the missing "advanced" options, so please try and switch TinyMCE to a "simple" theme which doesn´t need any extra configuration.
theme : "simple",
...and see if this works.
Instead of that you can also try keeping the "advanced" theme and include the rest of the configuration parameters I provided in the sample script.
Cheers,
Günter

Similar Messages

  • Broken Delete button in Dynamic Form. For the ADDT gurus!

    I have a feeling i may be at Günter's mercy on this one. Hope you have time to look at this; of course for any and all, the same applies!
    I have a dynamic list which i spent quite a lot of time with - rearranging elements within the ADDT generated KT_tng table. Just moving one recordset piece can take up to 30 seconds, so it takes QUITE a while with a lot of data to move.
    Anyways, i seem to have "broken" the delete button in mine. I hope someone can help me fix it, i really dont have time to redo all the changes i did to the dynamic list layout. (i did test as i went to make sure i didnt break it, but guess i just missed a piece..) I changed mainly the location of things, and CSS.
    I have an older version where the delete button works. I have compared but cannot find the answer. Both versions do everything else, live, with the database & their respective dynamic forms.
    I have all 4 files live, and unprotected, for now, and txt versions of all four. If you need to test anything with the live pages, its ok, most of the data is dummy data.
    Ive been saturated in ADDT dynamic lists, and dont have a background of hand coder, but am learning a lot, quick. so i have tried hard to understand this exact issue i created - im not looking for others to do my work. just my little disclaimer :)
    /* TEXT VERSIONS */
    /*Broken delete button*/
    http://www.aquatictrainingservice.com/admin/courses_list.txt
    http://www.aquatictrainingservice.com/admin/courses_form.txt
    /*Working delete button */
    http://www.aquatictrainingservice.com/admin/courses_list2_.txt
    http://www.aquatictrainingservice.com/admin/courses_list2_detailsl.txt
    /*LIVE PHP VERSIONS*/
    /*broken delete button*/
    http://www.aquatictrainingservice.com/admin/courses_list.php
    http://www.aquatictrainingservice.com/admin/courses_form.php
    /*working delete button*/
    http://www.aquatictrainingservice.com/admin/courses_list2_.php
    http://www.aquatictrainingservice.com/admin/courses_list2_detailsl.php
    best
    ben

    Include the following javascript code under the onClick event of the delete button.
    It works for me.
    onClick:
    var x=window.confirm('Are you sure ?')
    if (x)
    do_event(this.form,this.name,1,'ON_CLICK','');
    else
    return false

  • Remove scroll bars in dynamic form

    Hi all,
    I'm starting to kick myself every time I put a post here.  Apologies and thank you for everyone's help - slowly but shortly I'll be one of the people answering the questions.
    Really easy one (I think).  A have a dynamic form, which updates a dynamic list.  Is there a way to alter a text area in the dynamic form, so that it is a fixed area  i.e. when you get to the end of the line/characater usage, the cursor goes down to the next line rather than creating a horizontal scroll bar and running forever into the distance.  I have played around with Wrap options without luck, the css doesn;t seem to play much of a part as this is an actual text area in Dreamweaver as opposed to a CSS clipping in the list.
    Thanks again,
    Nathan

    NJFuller wrote:
    Perfect! Thank you Albert.  Is it possible to add virtual wrap to a box in a dynamic list?  As that is not presented in a normal html form'ish style way.....?
    Hi Nathan,
    as a Dynamic List displays pure text only, you´ll need to help yourself by formatting the displayed column using PHP. There are several ways to add "virtual" line breaks, and the most straightforward (though certainly not the most elegant) solution would be to apply the PHP function wordwrap which wraps a string to a given number of characters.
    The following example will wrap the text after 40 chars, and the "wordwrap" function will - as always - have to replace ADDT´s default "KT_FormatForList" function:
    <?php echo wordwrap($row_rsqueryname1['columnname'], 40, "<br />\n"); ?>
    Cheers,
    Günter

  • Is it possible to update multiple tables with a dynamic form?

    I have columns from two tables populating a dynamic form. I am trying to have the form update both tables on submit. I have tried both a linked transaction and a custom transaction but I am not making progress. Only the master table is being updated. Is it possible with ADDT to update two tables with a dynamic form?

    I meant
    SXMSMSTAT
    SXMSSYERR
    Thanks.

  • Call Dynamic Form Wizard via a POST data

    Is it possible to call a Dynamic Form Wizard form via POST from another form?
    I can get my form to work for an Update and Delete transaction, but I can't get it to work with an Insert - I can't prime fields.
    Conversely, I can get it to work with an Insert transaction, but then it stops working for Update and Delete transactions!!!!
    Calling a form with URL parameters is really frowned upon these days and ADDT needs to be updated to allow for the POST technique!

    Hi Steven,
    "order" is one of MySQL´s "reserved words", means you´ll have to rename this column to something else.
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Dynamic Forms & Lists

    Hi All
    i have 4 tables (A, B, C, D) and i created dynamic list using Dynamic List Wizard and the result was ok showed all the Fields (using recordset).
    now i wanna create a Dynamic form to insert into those 4 tables, so from the dynamic list if i click edit, delete... it takes me to the same page where i can edit, delete or update.
    i tried many things like insert into 2 tables but did not work because the link transaction did not work plus in this case i have to create delete page, insert page and update page which already made me lost.
    please help

    Hi grandlorie,
    Sorry for bothering, but is there anyone who can explain in details how to do that i can not go any further with my project?
    in regards to the Custom Triggers I mentioned:
    1. please open the ADDT helpfile from the Control Panel´s Help button
    2. read the section "Custom transaction and triggers", which also provides some PHP code examples to get you started.
    You will notice that Custom Triggers (respectively what you can do with them, respectively what code should go in there) doesn´t allow for providing ready-made solutions, as it all depends on aspects like your table structure etc.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Cannot use dynamic form wizard

    Can anyone tell me how to fix this? The file will not update and images will not load.
    Fatal error: Cannot instantiate non-existent class: kt_fileupload in /var/www/vhosts/xxxxx/httpdocs/includes/tng/triggers/tNG_FileUpload.class.php on line 182

    Thanks a million. I don't know how it is that all files didn't get loaded but that was the issue.
    Jedi
    Date: Mon, 2 May 2011 22:48:00 -0600
    From: [email protected]
    To: [email protected]
    Subject: Cannot use dynamic form wizard
    You may not have the full set of ADDT files uploaded to your server. Make sure that you have uploaded /includes/common/lib/file_upload directory and the 2 files it should contain: KT_FileUpload.class.php and KT_FileUpload.php.
    Hope that helps.
    >

  • Desperate for help: ADDT registration form

    New to ADTT and back again with another, more urgent problem.
    I have used ADDT to create a registration page, using UPDATE instead of INSERT (this is necessary because the users are already in our system as contacts).  To accomplish this I had to do some hand coding and I fear I may have gone awry.  Initially I kept getting a blank page with the message "error: internal server" message when the page loaded...currently I get "Fatal error: Call to a member function addField() on a non-object in /home/agciorg/public_html/events/2009/259/users_Registration.php on line 33."  Now I can no longer open the registration page in Dreamweaver -- freezes DW everytime.  So I'm trying to edit in Text Edit to get it back to a functioning page.  I've already rebuilt the page from scratch twice trying to get things to work and I'm on a major time crunch and just can't afford to do it again.  Below is the current code (I've also attached the php file as a .txt)...any help in resolving my issue would be much, MUCH appreciated!
    <?php require_once('../../../Connections/AGCI.php'); ?>
    <?php
    // Load the common classes
    require_once('../../../includes/common/KT_common.php');
    // Load the tNG classes
    require_once('../../../includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("../../../");
    // Make unified connection variable
    $conn_AGCI = new KT_connection($AGCI, $database_AGCI);
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $formValidation->addField("UserFirstName", true, "text", "", "", "", "");
    $formValidation->addField("UserLastName", true, "text", "", "", "", "");
    $formValidation->addField("UserTitle", true, "text", "", "", "", "");
    $formValidation->addField("UserOrganization", true, "text", "", "", "", "");
    $formValidation->addField("UserEmail", true, "text", "email", "", "", "");
    $formValidation->addField("UserPassword", true, "text", "", "", "", "");
    $formValidation->addField("UserPhone", true, "text", "", "", "", "");
    $formValidation->addField("UserAddress", true, "text", "", "", "", "");
    $formValidation->addField("UserCity", true, "text", "", "", "", "");
    $formValidation->addField("UserState", true, "text", "", "", "", "");
    $formValidation->addField("UserZip", true, "text", "zip_generic", "", "", "");
    $formValidation->addField("UserCountry", true, "text", "", "", "", "");
    $formValidation->addField("UserExpertise", true, "text", "", "", "", "");
    $formValidation->addField("UserArrivalDate", true, "date", "", "", "", "");
    $formValidation->addField("UserDepartureDate", true, "date", "", "", "", "");
    $formValidation1->addField("UserPassword", true, "text", "", "", "", "");
    $tNGs->prepareValidation($formValidation);
    // End trigger
    //start Trigger_CheckPasswords trigger
    //remove this line if you want to edit the code by hand
    function Trigger_CheckPasswords(&$tNG) {
      $myThrowError = new tNG_ThrowError($tNG);
      $myThrowError->setErrorMsg("Passwords do not match.");
      $myThrowError->setField("UserPassword");
      $myThrowError->setFieldErrorMsg("The two passwords do not match.");
      return $myThrowError->Execute();
    //end Trigger_CheckPasswords trigger
    //start Trigger_WelcomeEmail trigger
    //remove this line if you want to edit the code by hand
    function Trigger_WelcomeEmail(&$tNG) {
      $emailObj = new tNG_Email($tNG);
      $emailObj->setFrom("{KT_defaultSender}");
      $emailObj->setTo("{UserEmail}");
      $emailObj->setCC("");
      $emailObj->setBCC("[email protected]");
      $emailObj->setSubject("Registration Confirmation");
      //FromFile method
      $emailObj->setContentFile("includes/mailtemplates/welcome.html");
      $emailObj->setEncoding("ISO-8859-1");
      $emailObj->setFormat("HTML/Text");
      $emailObj->setImportance("Normal");
      return $emailObj->Execute();
    //end Trigger_WelcomeEmail trigger
    //start Trigger_ImageUpload trigger
    //remove this line if you want to edit the code by hand
    function Trigger_ImageUpload(&$tNG) {
      $uploadObj = new tNG_ImageUpload($tNG);
      $uploadObj->setFormFieldName("photo");
      $uploadObj->setDbFieldName("UserPhoto");
      $uploadObj->setFolder("../../../dB/ScientistPhotos/");
      $uploadObj->setResize("true", 200, 0);
      $uploadObj->setMaxSize(1500);
      $uploadObj->setAllowedExtensions("gif, jpg, jpeg, png");
      $uploadObj->setRename("custom");
      $uploadObj->setRenameRule("{rsUsers.UserFirstName}_{rsUsers.UserLastName}");
      return $uploadObj->Execute();
    //end Trigger_ImageUpload trigger
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;  
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_AGCI, $AGCI);
    $query_rsUsers = "SELECT * FROM users";
    $rsUsers = mysql_query($query_rsUsers, $AGCI) or die(mysql_error());
    $row_rsUsers = mysql_fetch_assoc($rsUsers);
    $totalRows_rsUsers = mysql_num_rows($rsUsers);
    // Make an update transaction instance
    $UserRegistration = new tNG_update($conn_AGCI);
    $tNGs->addTransaction($UserRegistration);
    // Register triggers
    $UserRegistration->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1");
    $UserRegistration->registerTrigger("END", "Trigger_Default_Redirect", 99, "redirect.php");
    $UserRegistration->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    $UserRegistration->registerTrigger("AFTER", "Trigger_ImageUpload", 97);
    $UserRegistration->registerConditionalTrigger("{POST.UserPassword} != {POST.re_UserPassword}", "BEFORE", "Trigger_CheckPasswords", 50);
    $UserRegistration->registerTrigger("AFTER", "Trigger_WelcomeEmail", 60);
    // Add columns
    $UserRegistration->setTable("users");
    $UserRegistration->addColumn("UserContactType", "STRING_TYPE", "POST", "UserContactType");
    $UserRegistration->addColumn("UserEventID", "NUMERIC_TYPE", "POST", "UserEventID");
    $UserRegistration->addColumn("UserFirstName", "STRING_TYPE", "POST", "UserFirstName");
    $UserRegistration->addColumn("UserLastName", "STRING_TYPE", "POST", "UserLastName");
    $UserRegistration->addColumn("UserTitle", "STRING_TYPE", "POST", "UserTitle");
    $UserRegistration->addColumn("UserDepartment", "STRING_TYPE", "POST", "UserDepartment");
    $UserRegistration->addColumn("UserOrganization", "STRING_TYPE", "POST", "UserOrganization");
    $UserRegistration->addColumn("UserPhone", "STRING_TYPE", "POST", "UserPhone");
    $UserRegistration->addColumn("UserCellPhone", "STRING_TYPE", "POST", "UserCellPhone");
    $UserRegistration->addColumn("UserAddress", "STRING_TYPE", "POST", "UserAddress");
    $UserRegistration->addColumn("UserAddress2", "STRING_TYPE", "POST", "UserAddress2");
    $UserRegistration->addColumn("UserCity", "STRING_TYPE", "POST", "UserCity");
    $UserRegistration->addColumn("UserState", "STRING_TYPE", "POST", "UserState");
    $UserRegistration->addColumn("UserZip", "STRING_TYPE", "POST", "UserZip");
    $UserRegistration->addColumn("UserCountry", "STRING_TYPE", "POST", "UserCountry");
    $UserRegistration->addColumn("UserWebsite", "STRING_TYPE", "POST", "UserWebsite");
    $UserRegistration->addColumn("UserExpertise", "STRING_TYPE", "POST", "UserExpertise");
    $UserRegistration->addColumn("UserBio", "STRING_TYPE", "POST", "UserBio");
    $UserRegistration->addColumn("UserPhoto", "FILE_TYPE", "POST", "UserPhoto");
    $UserRegistration->addColumn("UserArrivalDate", "DATE_TYPE", "POST", "UserArrivalDate");
    $UserRegistration->addColumn("UserDepartureDate", "DATE_TYPE", "POST", "UserDepartureDate");
    $UserRegistration->addColumn("UserUnsureTravelDates", "CHECKBOX_YN_TYPE", "POST", "UserUnsureTravelDates");
    $UserRegistration->addColumn("User#AdultGuests", "NUMERIC_TYPE", "POST", "User_AdultGuests");
    $UserRegistration->addColumn("UserAdultGuestNames", "STRING_TYPE", "POST", "UserAdultGuestNames");
    $UserRegistration->addColumn("User#ChildGuests", "NUMERIC_TYPE", "POST", "User_ChildGuests");
    $UserRegistration->addColumn("UserChildGuestNames", "STRING_TYPE", "POST", "UserChildGuestNames");
    $UserRegistration->addColumn("UserUnsureGuests", "CHECKBOX_YN_TYPE", "POST", "UserUnsureGuests");
    $UserRegistration->addColumn("UserBookRoom", "CHECKBOX_YN_TYPE", "POST", "UserBookRoom");
    $UserRegistration->addColumn("UserComments", "STRING_TYPE", "POST", "UserComments");
    $UserRegistration->addColumn("UserRegistrationDate", "DATE_TYPE", "POST", "UserRegistrationDate");
    $UserRegistration->addColumn("UserEmail", "STRING_TYPE", "POST", "UserEmail", "{SESSION.kt_login_user}");
    $UserRegistration->addColumn("UserPassword", "STRING_TYPE", "POST", "UserPassword");
    // Make an update transaction instance
    $UsersRegistration = new tNG_update($conn_AGCI);
    $tNGs->addTransaction($UsersRegistration);
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rsusers = $tNGs->getRecordset("users");
    $row_rsusers = mysql_fetch_assoc($rsusers);
    $totalRows_rsusers = mysql_num_rows($rsusers);
    ?>
    <!-----------------begin registration form----------------->
    <div id="RegistrationContainer">
          <form method="post" name="RegistrationForm" id="RegistrationForm" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>"> 
            <table width="515" border="0" align="right">
    <tr>
      <td height="135" colspan="2" valign="top" scope="col">
          <?php
    echo $tNGs->getErrorMsg();
    ?>
                    <h1 align="left">Registration Form</h1>
      <br>
        <span class="style5">Please read the logistics information prior to completing the registration form.</span><br />
           There are a limited number of spots available in this workshop.  To secure a spot, please fill out this registration form to the best of your ability as soon as possible.  Please notify AGCI of any subsequent changes to the information submitted below.
                    </td>
    </tr>
          <tr>
            <td height="37" colspan="2" scope="col"><strong>Create a Password</strong></td>
           </tr>
    <tr>
            <td height="53" colspan="2" valign="top" scope="col">
    <table cellpadding="2" cellspacing="0" class="KT_tngtable">
      <tr>
    <td width="127" class="KT_th"><label for="UserPassword">Password:</label></td>
    <td width="248">
    <input type="password" name="UserPassword" id="UserPassword" value="" size="32" />
    <?php echo $tNGs->displayFieldHint("UserPassword");?>
    <?php echo $tNGs->displayFieldError("users", "UserPassword"); ?>
    </td>
    </tr>
    <tr>
    <td class="KT_th"><label for="re_UserPassword">Re-type Password:</label></td>
    <td>
    <input type="password" name="re_UserPassword" id="re_UserPassword" value="" size="32" />
    </td>
    </tr>
      <tr>
    <td class="KT_th"><label for="UserEmail">Email (username):</label></td>
    <td>
    <input type="text" name="UserEmail" id="UserEmail" value="<?php echo $_SESSION['kt_login_user']; ?>" size="32" />
    <?php echo $tNGs->displayFieldHint("UserEmail");?>
    <?php echo $tNGs->displayFieldError("users", "UserEmail"); ?>
    </td>
    </tr>
    </table>
    </td>
           </tr>
    <tr>
            <td height="37" colspan="2" scope="col"><strong>Contact/Personal Information</strong></td>
           </tr>
    <tr>
    <td width="229" height="323" align="right" valign="top" scope="col">
    <input name="UserContactType" type="hidden" value="Scientist">
    <input name="UserEventID" type="hidden" value="259"> <!---NEEDS TO BE CHANGED FOR EACH WORKSHOP--->
    <?php $date = getdate(); ?>
    <input name="UserRegistrationDate" type="hidden"  value="<?php echo $date ?>" >
              <p align="right"><span class="style5">*</span>First name:
                <input type=text name="firstname" value="<?php echo $_SESSION['kt_UserFirstName']; ?>"></p>
       <p align="right"><span class="style5">*</span>Last Name:
               <input type=text name="lastname" value="<?php echo $_SESSION['kt_UserLastName']; ?>"></p>
              <p align="right"><span class="style5">*</span> Job Title:
                <input type=text name="title"></p>
              <p align="right">Department:
               <input type=text name="department"></p>
             <p align="right"><span class="style5">*</span>Organization:
               <input type=text name="organization"></p>
             <p align="right"><span class="style5">*</span>Office Phone:
               <input type=text name="officephone"></p> 
              <p align="right">Cell Phone:
               <input type=text name="cellphone"></p>     
                </td>
                    <td width="255" height="323" valign="top" scope="col">
             <p align="right"><span class="style5">*</span>Address 1:
                <input type=text name="address1"></p>
             <p align="right">Address 2:
               <input type=text name="address2"></p>
              <p align="right"><span class="style5">*</span>City:
                <input type=text name="city"></p>
             <p align="right"><span class="style5">*</span>State / Province:
               <input type=text name="state"></p>
             <p align="right"><span class="style5">*</span>Zip / Postal Code:
               <input type=text name="zipcode"></p>
             <p align="right"><span class="style5">*</span>Country:
               <select name="req_country">
                  <option value="Argentina">Argentina
                  <option value="Australia">Australia
                  <option value="Austria">Austria
                  <option value="Belgium">Belgium
                  <option value="Brazil">Brazil
                  <option value="Canada">Canada
                  <option value="Caribbean_Islands">Caribbean Islands
                  <option value="Chile">Chile
                  <option value="China">China
                  <option value="Colombia">Colombia
                  <option value="Denmark">Denmark
                  <option value="Ecuador">Ecuador
                  <option value="Egypt">Egypt
                  <option value="Finland">Finland
                  <option value="France">France
                  <option value="Germany">Germany
                  <option value="Greece">Greece
                  <option value="Greenland">Greenland
                  <option value="Hong_Kong">Hong Kong
                  <option value="Iceland">Iceland
                  <option value="India">India
                  <option value="Indonesia">Indonesia
                  <option value="Ireland">Ireland
                  <option value="Israel">Israel
                  <option value="Italy">Italy
                  <option value="Japan">Japan
                  <option value="Korea">Republic of Korea
                  <option value="Luxembourg">Luxembourg
                  <option value="Malaysia">Malaysia
                  <option value="Mexico">Mexico
                  <option value="Netherlands">Netherlands
                  <option value="New_Zealand">New Zealand
                  <option value="Norway">Norway
                  <option value="Philippines">Philippines
                  <option value="Portugal">Portugal
                  <option value="Russian">Russian Federation
                  <option value="Saudi_Arabia">Saudi Arabia
                  <option value="Singapore">Singapore
                  <option value="South_Africa">South Africa
                  <option value="Spain">Spain
                  <option value="Sweden">Sweden
                  <option value="Switzerland">Switzerland
                  <option value="China">Province Of China Taiwan
                  <option value="Thailand">Thailand
                  <option value="Turkey">Turkey
                  <option value="United Kingdom">United Kingdom
                  <option value="US" selected="selected">United States
                  <option value="Venezuela">Venezuela
                  <option value="Viet_Nam">Viet Nam
                  <option value="N/A">Not listed
              </select></p>
                <p align="right">Website:
               <input type=text name="website"></p>
                <p align="right"><span class="style5">*</span>Expertise:
                <input type=text name="expertise"></p>
              <br>        
              </td>
    </tr>
       <tr>
              <td colspan="2" align="right" valign="top" scope="col">
                <p><strong>Attach bio:</strong>
      Please type or cut and paste a short professional bio. <br>
      <textarea name="bio" rows="20" style="width:100%"></textarea> <br>
    </p>
    <br>
    <p><strong>Upload photo:</strong>
                  <input class="noformstyle" type="file" name="photo" size="30" ><br>
    (max. 1.5Mb; allowed file types: *.jpg, *.gif, *png only)</p>
    <br>
    <div class="lineDiv"></div>
    <br>
    </td>
           </tr>
          <tr>
              <td height="66" align="right" valign="top" scope="col"><p><strong><span class="style5">*</span>Travel</strong></p>
    <p>Arrival Date:
               <input name="arrivaldate" id="arrivaldate" value="" size="11"><a href="javascript:void(0)" onClick="if(self.gfPop)gfPop.fPopCalendar(document.RegistrationForm.arrivaldate);return false;" ><img class="PopcalTrigger" align="absmiddle" src="http://www.agci.org/JavaScript/calendar/calbtn.gif" width="34" height="22" border="0" alt=""></a>
                </p>          
                </td>
                <td height="66" align="right" valign="top" scope="col">
                  <div align="right">
                    <p> </p>
                    <p>Departure Date:
                      <input name="departuredate" id="departuredate" value="" size="11"><a href="javascript:void(0)" onClick="if(self.gfPop)gfPop.fPopCalendar(document.RegistrationForm.departuredate);return false;" ><img class="PopcalTrigger" align="absmiddle" src="http://www.agci.org/JavaScript/calendar/calbtn.gif" width="34" height="22" border="0" alt=""></a>
                    </p>
                  </div>
                </td>
    </tr>
          <tr>
              <td height="34" colspan="2" align="right" valign="top" scope="col">
                <label>
                <input type="checkbox" name="travel" id="checkbox" value="unsure of travel dates at this time" class="noformstyle" />
                  I do not know my planned travel dates at this time.
                  </label>
              I will notify AGCI as soon as I have made my travel arrangements (see Logistics for information on travel and how to book your travel with AGCI's travel agent).
               </td>
            </tr>
              <td height="184" colspan="2" valign="bottom" scope="col">
                  <br>
    <div class="lineDiv"></div>
    <br>
    <p><span class="style5">*</span><strong>I will be bringing the following guests:</strong></p>
                <p># of Adults:    <select name="adultguests" size="1">
                  <option value="0">0</option>
                  <option value="1">1</option>
                  <option value="2">2</option>
                  <option value="3">3</option>
                  <option value="4">4</option>
                </select>  Names: <input type=text name="adultguestnames">
                </p>
                <p># of Children: <select name="childguests" size="1">
                  <option value="0">0</option>
                  <option value="1">1</option>
                  <option value="2">2</option>
                  <option value="3">3</option>
                  <option value="4">4</option>
                </select>  Names:
                <input type=text name="childguestnames">
                 <br />
                 <br />
                 <input type="checkbox" name="guests" id="checkbox2" value="unsure about guests at this time" class="noformstyle"/>
                     I am not sure about guests at this time. I will let AGCI know at a later date if I decide to bring a guest or child.
                  </td>
            </tr>
          <tr>
            <td height="182" colspan="2" valign="bottom" scope="col">
    <br>
    <div class="lineDiv"></div>
    <br>
                    <p><span class="style5">*</span><strong>Lodging</strong></p>
              <input type="radio" name="book a room?" value="yes" class="noformstyle">
                 <strong>Please reserve a room for me and my guest(s) at the Molly Gibson Lodge.</strong>  A lodging confirmation will be sent to you once you are
    registered. If you plan on extending your stay before or after the workshop dates, please let us know so that we can make appropriate arrangements with the hotel.<br />
    <br />
              <input type="radio" name="book a room?" value="no" class="noformstyle">
                  <strong> I do not require lodging at the Molly Gibson. </strong>I will notify AGCI of where I intend to stay,
    and I understand the reimbursement procedures as described in the logistics information.        
    </td>
           </tr>
          <tr>
              <td height="218" colspan="2" valign="bottom" scope="col">
                <p><strong>Comments:</strong><br>
                <textarea name="comments" cols="400" rows="3"></textarea></p>
                </td>
           </tr>
          <tr>
             <td height="57" colspan="2" valign="middle" scope="col">
                <span class="style5">* required field</span>
               </td>
            </tr>
          <tr>
             <td height="20" colspan="2" valign="bottom" scope="col">
            <input class="submit" type="submit" name="KT_Insert1" id="KT_Insert1" value="Register"></td>
           </tr>
          <tr>
            <td height="121" colspan="2" valign="bottom" scope="col">
              </td>
           </tr>
         </table>
    </form>
    </div>
    <!-----------------end registration form----------------->

    Actually if you do not need a public registration form, its much more practical to use the "Create Dynamic List" and "Create Dynamic Form" behaviors in your site administration back end. And it really only takes about two minutes to set up.
    This will give you the ability to add, delete and edit all your users.
    Brad Lawryk
    Community Expert: Dreamweaver
    Usergroup Manager: Northern British Columbia Adobe Usersgroup

  • Uploaded Admin to Server - Dynamic Forms don't work

    Okay, got everything how I want it on the administration end and it works tested locally.
    Uploaded to the web server and now the Dynamic Forms that I created using the Wizard are giving me an error.
    Error:
    Internal error.
    Developer Details:
    tNG_multipleUpdate.getLocalRecordset:
    Error message:
    No database selected
    SQL statement:
    SELECT First_Name,Last_Name,statusID,divisionID,owner_picture,ownerID, ownerID as kt_pk_owner FROM owner WHERE ownerID=3. (MUPD_RS)
    tNG Execution Trace - VIEW
    Thought maybe an include didn't get uploaded so redid those.
    The Dynamic List page works, so the connection key is fine. The public site is fine too.
    Suggestions?
    Cheryl

    Stepping back to the root cause (again, the SQL error message), what you should look at is that your database configuration is correct for the live server. This line:
    <?php require_once('Connections/conn_sqh.php'); ?>
    shows where the connection data is stored in the automatically generated files. Please ensure that the:
    $database_sqh = "some_schema_name";
    line has the correct value for your live server in place of "some_schema_name" as that is what the root cause of your error message is. You can change this in the ADDT Control Panel->Login Settings->Database tab by using the using the "Define.." button on the connection.
    There is likely an easier way to access this info, but I would recommend simply rewriting the connection file to change the values based upon the value of $_SERVER['HTTP_HOST'] to get something that works locally and remotely without any changes. If you change the file, then ensure you set the parameter before modifying it based on the host:
    $hostname_someconnection = "localhost";
    if( isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] != 'localhost' )
        $hostname_someconnection = "someconnection.local";
    If you fail to do this in the correct order, then you can break the GUI. This technique lets you use a proper FTP tool for upload to a site which can save huge amounts of time but it also adds to your administrative overhead.

  • Dynamic form "Cancel" redirect  problem in frames - bugfix?

    My question: Is there a "long run" down side to my implementing this modification to style.js?
    The below post by Ionut:MX Division Support Specialist worked for me as a solution to a current form "click cancel" redirect navigation problem:
    When a DWtoolbox dynamic form wizard form is placed on a page within frames, clinking on cancel does not return a user to the list that sent them to the form. The user is sent somewhere else.
    Begin Ionut post-------------
    If you don't need to add extra parameters to the "Edit" button, you can solve the redirect problem by editing the "/includes/skins/style.js" file and replace:
    nxt_list_edit_link_form(this, myinput.previousSibling.href);
    with:
    nxt_list_edit_link_form(this, a.href);
    End----------------------
    Thanks Ionut for the tip and anyone in support for letting me know if this is a safe mod for the long run,
    Steve M

    Hi Marny,
    Hello Steve. I am new to Adobe & very confused. You seem to grasp the program very nicely, please help Me?
    I´m not not Steve, however -- what problem do you have exactly, and is this problem related to the "Adobe Dreamweaver Developer Toolbox" extension or related to Dreamweaver ?
    If it´s related to ADDT, please describe your problem by starting a new thread -- if it´s related to Dreamweaver, please post your questions in the general Dreamweaver forums.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Dynamic Form Wizard Makes  Not-Editable Textbox ?? Urgent Help

    When I create new Dynamic Form Wizard after for editing data ,taken from my dynamic list, first line of dynamic form goes non-editable.
    For example; Dynamic List have this structure
    Name: Surname: Email: Pass:
    Sample name Sample surname Sample Email Sample Pass EDIT - DELETE
    ADD NEW
    when i click edit or add new ;
    Dynamic Form ;
    Name: Textbox Here (This box goes non-editable)
    Surname: Textbox Here
    Email: Textbox Here
    Pass: Textbox Here
    Add New Update - Delete - Cancel
    If i will add this line before first non-editable textbox script working.
    How can I solve this problem, i re-installed dwcs3 and ADDT for repair but not worked. Is this a bug ?
    My Os: Windows Xp - Home edition
    Dw version : Adobe DWCS3 V.9.0
    ADDT version: 1.0

    Hi Steven,
    "order" is one of MySQL´s "reserved words", means you´ll have to rename this column to something else.
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

  • Get values from dynamic form items

    Hi All,
    I create a dynamic form with text input component
    private function buildForm():void{
                    var numberOfColumns:Number = 5
                    var formItem:FormItem = new FormItem();
                    var hBox:HBox = new HBox();
                    for(var i:Number=0; i< numberOfColumns; i++) {
                        var formInput:TextInput = new TextInput();
                        formInput.text = "test";
                        formInput.id = "txt_" +i;
                        hBox.addChild(formInput);
                    formItem.addChild(hBox);
                    loansForm.addChild(formItem);
    I can see the text input components, update the values.
    How can I get the updated values from the input components?
    I try  this["txt_" + i].text  but not working. It's not finding the component with the dynamic value.
    Any ideas?
    Thanks
    Johnny

    Hi,
    Here is the related thread, u will get some help
      http://forums.adobe.com/message/3075226
    Thanks and Regards,
    Kanchan Ladwani | [email protected] | www.infocepts.com

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • Dynamic Forms and WF

    Hello,
    I have designed a dynamic form, where user can add rows dynamically by clicking a button on the form, the form is working fine in preview in designer.
    this form is initiating a LC WF process, but, if I deploy this form to form manager as an XDP and choose to render it to PDF, adding rows function does not work, however if I save this as dynamic PDF from LC designer and deploy it again to form manager, it works !!
    However, I can not use PDF generated from LC Designer since I found that commenting and annotations are not working ( I am using acrobat ) which is an important feature, also, web services calls are not working even, again from Acrobat!
    How can I set the form server installed with workflow server to render XDP templates into dynamic PDF forms ?
    Or alternatively how to enable commenting and fix web service calls in PDF rendered form ?
    Thank you for help,
    Greetings,

    By default Forms and Form Manager are configured to render a PDF as either static or dynamic based on some values in the XDP. By default those values will tell it to render a static PDF. What you can do, in Designer save as a dynamic PDF, then open the dynamic PDF in Designer and save as an XDP. Upload that XDP to Form Manager, the tags will be present to tell it to be rendered as a dynamic PDF. There's a better way if you are using Designer 7.1 and Forms 7.1, but since I don't know your environment this is a way that will work regardless of versions.
    Annotations will not work in dynamic PDF's though. Currently annotations make no sense in dyanmic PDF's since the template of the PDF can dynamically change while annotations are bound to a specific location. IE: You have a dynamic PDF that is initial 4 pages and add an annotation to page 4. Later the template of the PDF changes based on data and user interaction and it is now a 2 page PDF, but the annotation is still on page 4 which no longer exists...
    Chris
    Adobe Enterprise Developer Support

Maybe you are looking for