Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by larsonchst

  1. I have a multi-step form (http://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-create-a-multi-page-form/) and I am using the dynamic redirect (http://howto.caspio.com/tech-tips-and-articles/common-customizations/dynamic-redirects-after-form-submission/) to make step 2 depend on a dropdown in step 1. What I'm hoping to do is make this possible using two dropdowns instead. Example: Dropdown 1 A B C Dropdown 2 1 2 3 Then in some way (parameters somehow) they are redirected to the url that goes with A1, A2, A3, etc depending on the combination. Hopefully that makes sense. Anybody have any ideas? EDIT: I'm thinking they may be able to be done by a cascading dropdown? Dropdown 1 autopopulates dropdown 2 with either A B or C fields and then when they choose from the second that is the redirect?
  2. I chatted with support and they said I would need javascript to do this, so I came here to see if anybody has done something similar. Here is a simplified breakdown: --- Datapage 1 has any amount of questions, one of those questions has a dropdown with 2 answers (A and If they choose A, after they submit the datapage it routes onto datapage A for them to finish filling out the remaining questions, if they choose B it routes them to B. --- I know if you make two datapages, one a submission and one a single record update you can make two datapages input into a single table by passing an ID from the first to the second. So how do I make the second form dependent on a selection on the first form?
  3. Is it possible on mobile in a number only field to force a phone to display the number pad instead of the full keyboard?
  4. I have a javascript code I got off of this forum that takes an inputted ten digit number and adds formatting (ie 1234567891 gets changed to (123) 456-7891). I have a field that will always be ######-###### and I'd like to modify the code to add the dash in the middle. What I'm trying to avoid is having someone needing to click on multiple boxes to fill out the entire field. I'm not great with javascript, so I was hoping someone on here would be able to help me with that. Here is the code: <SCRIPT LANGUAGE="JavaScript"> function f_a(v_id) { return document.getElementById(v_id); } f_a('InsertRecordPhone').maxLength = 14; f_a('InsertRecordPhone').onkeyup = function(v_e) { v_e = v_e || window.event; if (v_e.keyCode >= 65 && v_e.keyCode <= 90){ this.value = this.value.substr(0, this.value.length - 1); return false; }else if (v_e.keyCode >= 37 && v_e.keyCode <= 40){ return true; } var v_value =(this.value.replace(/[^\d]/g, '')); if (v_value.length==7) { this.value = (v_value.substring(0,3) + "-" + v_value.substring(3,7));} else if(v_value.length==10){ this.value = ("(" + v_value.substring(0,3) + ") " + v_value.substring(3,6) + "-" + v_value.substring(6,10)); }; } </SCRIPT>
  5. This has been a huge pain in the butt for me as well for layouts because sometimes it just looks horrible. One way I have gotten around this is by making the label not display for the field (or dropdown or checkbox or etc) and making an html field before it with the label name, then checking "continue element on the same line" under advanced for the HTML box.
  6. I sent in a support ticket and they said this could be done with javascript and to ask about it on the forums. Pretty much we'd like to track when someone clicks the form submit but there is an error (ie, a field isn't filled out that is required) so it doesn't submit. We want to be able to discern between page views and actual submits, and try to figure out why the form wouldn't have been submitted.
  7. I guess I should have mentioned I wanted a non iframe solution, sorry. While the iframes work, they get to be way too messy. One main issue is the frame size not being able to automatically adapt to the size of the form (which becomes an ugly issue when you have a lot of rules adding or removing fields). It looks like your code has some resizing script. I'm guessing the src="XXX" should be the caspio form deploy link and the "xxxxxxxxxx" should be the initial height of the iframe? Is the http: after that supposed to be left like that or replaced with something?
  8. So I have a page that has a form embedded into it. The form works like this: it opens with a T&S page they have to agree to, then after they agree it goes to a second datapage that is the form. The problem is that I have it embedded into my sharepoint site, and when they submit the first page the second form refreshes the entire page and instead of being embedded in the site it is now just the datapage by itself. Is there any way to make this work so it stays embedded?
  9. So I am using the code here: http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/create-tabbed-navigation-for-multiple-datapages/ To place four forms on a page. The code works great, but for whatever reason none of the rules on the forms work when set up like this. Anybody know how to fix that? I am hosting it on a Sharepoint 2010 site, using the .Net embed code and they work fine by themselves, just not when all together with this code. I'm guessing it's because there are multiple forms on the same page, but then I would think there would be a step in the guide to fix that. I tried using the normal embed code as well and the rules were still broken that way. Any ideas?
  10. Not sure if this is possible or not. The easiest example I would give is having this on a form: Address / City / State / Zip Text box / text box / text box / text box And then all of those get input to a single field formatted "address, city, state, zip" instead of having four different fields. It's similar to how the multiple selections of a listbox populate, but pulled from text boxes.
  • Create New...