Booking multiple seats under one name and manipulating amount field


hi,

 

im trying create form client has bookings classes. tutorial on how create form multiple seats doing head in. im not coder im stuck why won't work. have followed directions best of capabilitites, im sure im missing out. maybe way im linking scripts not r

 

this code:if let me know im doing wrong extremly grateful...i hvae added code template using hide form, part working, when select number of seats form doesnt open up...please help!

 

<form action="https://engineertradesaustralia.worldsecuresystems.com/formprocessv2.aspx?webformid=44294& oid={module_oid}&amp;otype={module_otype}&amp;eid={module_eid}&amp;cid={module_cid}&amp;cc={mo dule_urlcountrycode}&amp;referrer={module_siteurl,true,true}" enctype="multipart/form-data" onsubmit="return checkwholeform32463(this)" method="post" name="catwebformform32463">

    <span class="req">*</span>  required

    <table cellspacing="0" cellpadding="2" border="0" class="webform">

        <tbody>

            <tr>

                <td><label for="cat_custom_276419">how many seats book? <span class="req">*</span></label><br />

                <select class="cat_dropdown" id="cat_custom_276419" name="cat_custom_276419">

                <option value=" ">-- please select --</option>

                <option value="1">1</option>

                <option value="2">2</option>

                <option value="3">3</option>

                <option value="4">4</option>

                <option value="5">5</option>

                <option value="6">6</option>

                <option value="7">7</option>

                <option value="8">8</option>

                <option value="9">9</option>

                <option value="10">10</option>

                <option value="11">11</option>

                <option value="12">12</option>

                <option value="13">13</option>

                <option value="14">14</option>

                <option value="15">15</option>

                </select><span class="req">*</span>  required

                <div class="hideform webform">

                <div><label for="firstname">first name <span class="req">*</span></label><br />

                <input type="text" maxlength="255" class="cat_textbox" id="firstname" name="firstname" /> </div>

                <div><label for="lastname">last name <span class="req">*</span></label><br />

                <input type="text" maxlength="255" class="cat_textbox" id="lastname" name="lastname" /> </div>

                <div><label for="emailaddress">email address <span class="req">*</span></label><br />

                <input type="text" maxlength="255" class="cat_textbox" id="emailaddress" name="emailaddress" /> </div>

                <div class="person1 hide"><label for="cat_custom_168792">name 1</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225660" name="cat_custom_168792" maxlength="1024" /></div>

                <div class="person2 hide"> <label for="cat_custom_168793">name 2</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225661" name="cat_custom_168793" maxlength="1024" /></div>

                <div class="person3 hide"><label for="cat_custom_168794">name 3</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225662" name="cat_custom_168792" maxlength="1024" /></div>

                <div class="person4 hide"><label for="cat_custom_168795">name 4</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225664" name="cat_custom_168795" maxlength="1024" /></div>

                <div class="person5 hide"> <label for="cat_custom_168796">name 5</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225665" name="cat_custom_168796" maxlength="1024" /></div>

                <div class="person6 hide"><label for="cat_custom_168797">name 6</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225666" name="cat_custom_168797" maxlength="1024" /></div>

                <div class="person7 hide"><label for="cat_custom_168798">name 7</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225667" name="cat_custom_168798" maxlength="1024" /></div>

                <div class="person8 hide"> <label for="cat_custom_168799">name 8</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225668" name="cat_custom_168799" maxlength="1024" /></div>

                <div class="person9 hide"><label for="cat_custom_168800">name 9</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225669" name="cat_custom_168800" maxlength="1024" /></div>

                <div class="person10 hide"><label for="cat_custom_168801">name 10</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225670" name="cat_custom_168801" maxlength="1024" /></div>

                <div class="person11 hide"> <label for="cat_custom_168802">name 11</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225671" name="cat_custom_168802" maxlength="1024" /></div>

                <div class="person12 hide"><label for="cat_custom_168803">name 12</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225672" name="cat_custom_168803" maxlength="1024" /></div>

                <div class="person10 hide"><label for="cat_custom_168804">name 13</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225673" name="cat_custom_168804" maxlength="1024" /></div>

                <div class="person11 hide"> <label for="cat_custom_168805">name 14</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225674" name="cat_custom_168805" maxlength="1024" /></div>

                <div class="person12 hide"><label for="cat_custom_168806">name 15</label><br />

                <input type="text" class="cat_textbox" id="cat_custom_225675" name="cat_custom_168806" maxlength="1024" /></div>

                <div><label for="bookingallocation">booking seats</label><br />

                <input class="cat_textbox" id="bookingallocation" name="bookingallocation" /></div>

                <div><label for="cardname">name on card <span class="req">*</span></label><br />

                <input type="text" name="cardname" id="cardname" class="cat_textbox" /></div>

                <div><label for="cardnumber">card number <span class="req">*</span></label><br />

                <input type="text" name="cardnumber" id="cardnumber" class="cat_textbox" /></div>

                <div><label>card expiry <span class="req">*</span></label><br />

                <select name="cardexpirymonth" id="cardexpirymonth" class="cat_dropdown_smaller">

                <option value="01">01</option>

                <option value="02">02</option>

                <option value="03">03</option>

                <option value="04">04</option>

                <option value="05">05</option>

                <option value="06">06</option>

                <option value="07">07</option>

                <option value="08">08</option>

                <option value="09">09</option>

                <option value="10">10</option>

                <option value="11">11</option>

                <option value="12">12</option>

                </select><select name="cardexpiryyear" id="cardexpiryyear" class="cat_dropdown_smaller">

                <option value="2009">2009</option>

                <option value="2010">2010</option>

                <option value="2011">2011</option>

                <option value="2012">2012</option>

                <option value="2013">2013</option>

                <option value="2014">2014</option>

                <option value="2015">2015</option>

                <option value="2016">2016</option>

                <option value="2017">2017</option>

                <option value="2018">2018</option>

                <option value="2019">2019</option>

                <option value="2020">2020</option>

                </select></div>

                <div><label for="cardtype">card type <span class="req">*</span></label><br />

                <select name="cardtype" id="cardtype" class="cat_dropdown">

                <option value="1">visa</option>

                <option value="2">master card</option>

                </select></div>

                <div><label for="cardccv">ccv number <span class="req">*</span></label><br />

                <input type="text" name="cardccv" id="cardccv" class="cat_textbox" /></div>

                <div><label for="amount">amount <span class="req">*</span></label><br />

               <input type="text" class="cat_textbox" id="amount" name="amount" style="display:none" readonly="readonly"/>

                <div>

                <input type="submit" id="catwebformbutton" value="submit" class="btn primary" /></div>

                </div>

                <script src="/catalystscripts/validationfunctions.js" type="text/javascript"></script>

                <script type="text/javascript">

            //<![cdata[

            var submitcount69729 = 0;function checkwholeform69729(theform){var why = "";if (theform.firstname) why += isempty(theform.firstname.value, "first name");if (theform.lastname) why += isempty(theform.lastname.value, "last name"); if (theform.emailaddress) why += checkemail(theform.emailaddress.value); if(why != ""){alert(why);return false;}if(submitcount69729 == 0){submitcount69729++;theform.submit();return false;}else{alert("form submission in progress.");return false;}}

            //]]>

            </script>

                <script type="text/javascript">

            $(document).ready(function(){

                bookings();

            });

            </script>

                </td>

            </tr>

        </tbody>

    </table>

</form>

i suspect using demo http://demo.businesscatalyst.com/booking-multiple-seats

 

can please post url of booking form on can have it?

 

cheers,

 

-mario



More discussions in Business Catalyst


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support