Jump to content

SDmesaweb

Members
  • Content Count

    4
  • Joined

  • Last visited

About SDmesaweb

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. No such luck. It reloads the page but the values in search form persist as well as the filtered data. Edit: Got this to work. I took the action out of the on click function and just made it a generic link. <p><a href="[dataPageURL]&amp;cbResetParam=1">Clear Form</a></p> Works great! Thanks for the suggestion.
  2. Yes I referenced that article but the setup is a little different: Button: <p><a onclick="clearForm()" style="cursor:pointer;">Clear Form</a></p> Call this function: function clearForm () { document.getElementsByName('cbParamVirtual7')[0].value=""; document.getElementById('cbParamVirtual17').value=""; document.getElementById('cbParamVirtual18').value=""; document.getElementById('cbParamVirtual19').value=""; document.getElementById('caspioform').reset(); } As you can see I have tried several different methods to get the desired result, none of them being completely successful.
  3. I have a search form and a results form on the same page. I reload the values in the search form (by receiving a parameter) so that the user can see what filters are being used to get the current results. This works great except... When I try and use the reset() form method it will not remove values that were previously submitted. I have also tried explicitly setting the value in those fields to nothing using something like this: function clearForm () { document.getElementsByName('cbParamVirtual7')[0].value=""; document.getElementById('cbParamVirtual17').value=""; document.getElementById('cbParamVirtual18').value=""; document.getElementById('cbParamVirtual19').value=""; document.getElementById('caspioform').reset(); } This does clear the checkboxes but will not clear the text fields if they have already been submitted in a query. I have attached an screenshot of the search filters. Any suggestions of how to solve this or work around the issue would be greatly appreciated. Thanks, Joel
  4. I have the following html for my display message. It renders perfectly in the editor but on the page the last section is cut off. I have attached an image. <div id="section-to-print"> <h1 id="noDisplay">Event Request</h1> <strong><span style="font-size:18px;">Thank you!</span></strong><br /> Your event submission was successful. You will be notified via email as your event progresses through the approval process. If you have any questions regarding the event process or your event please contact <strong><a href="http://www.sdmesa.edu/college-services/administrative-services/">Administrative Services</a></strong>.<br /> <br /> [@cbParamVirtual9!] <h2>For your reference</h2> <hr /> <strong>Event ID</strong>: [@field:event_id]<br /> <strong>Submission Date</strong>: [@cbParamVirtual10]<br /> <br /> <strong><span style="color:#023867;">EVENT INFORMATION</span></strong> <table cellpadding="5" cellspacing="5" style="width: 100%;" width="100%"> <tbody> <tr> <td style="background-color: rgb(240, 240, 240)!important; text-align: center; width: 15%; white-space: nowrap;">Title</td> <td style="width: 30%; white-space: nowrap;text-transform: capitalize;"><strong>&nbsp;[@field:event_title]</strong></td> <td style="background-color: rgb(240, 240, 240)!important; text-align: center; width: 15%;">Type</td> <td style="text-transform: capitalize;"><strong>&nbsp;[@field:event_type]</strong></td> </tr> <tr> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Category</td> <td style="vertical-align:center;text-transform: capitalize;"><strong>&nbsp;[@field:event_category]</strong></td> <td style="background-color: rgb(240, 240, 240)!important; text-align: center; white-space: nowrap;">Requesting Entity</td> <td style="vertical-aling:center;text-transform: capitalize;"><strong>&nbsp;[@field:contact_request_entity]</strong></td> </tr> <tr> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Date</td> <td style="vertical-align:center;"><strong>&nbsp;[@field:event_fulldate]</strong></td> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Time</td> <td style="vertical-align:center"><strong>&nbsp;[@field:event_time]</strong></td> </tr> <tr> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Location</td> <td style="vertical-align:center;text-transform: capitalize;"><strong>&nbsp;[@field:event_loc]</strong></td> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">On/Off Campus</td> <td style="vertical-align:center;text-transform: capitalize;"><strong>&nbsp;[@field:event_site]</strong></td> </tr> </tbody> </table> <br /> <strong><span style="color:#023867;">CONTACT INFORMATION</span></strong> <table cellpadding="5" cellspacing="5" style="width: 100%;" width="100%"> <tbody> <tr> <td style="background-color: rgb(240, 240, 240)!important; text-align: center; width: 15%;">Contact</td> <td style="vertical-align:center;text-transform: capitalize;"><strong>&nbsp;[@field:contact_fullname]</strong></td> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Approver</td> <td style="vertical-align:center;"><strong>&nbsp;[@field:contact_dean_fullname]</strong></td> </tr> <tr> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Email</td> <td style="vertical-align:center;"><strong><a href="mailto:[@field:contact_email]">&nbsp;[@field:contact_email]</a></strong></td> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Email</td> <td style="vertical-align:center;"><strong><a href="mailto:[@field:contact_dean_email]">&nbsp;[@field:contact_dean_email]</a></strong></td> </tr> <tr> <td style="background-color:#f0f0f0!important;text-align:center;vertical-align:center;">Phone</td> <td style="vertical-align:center;"><strong>&nbsp;[@field:contact_phone]</strong></td> </tr> </tbody> </table> <br /> <strong><span style="color:#023867;">Description</span></strong> <strong><span style="color:#023867;">DESCRIPTION</span></strong> <p>[@field:event_desc]</p> <p>[@field:event_addInfo]</p> <strong><a href="javascript:window.print();">Print this page</a></strong> <br /> </div>
×
×
  • Create New...