Google API QR Codes not working?
Hi, has anyone else run into the issue this week where the QR generator at chart.googleapis.com has suddenly stopped working? Even my sample code of https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl=HelloWorld is returning a 404 not found....2.2KViews0likes1CommentCreate Child Record, Save and then Edit button
When I press this URL button it just hangs. Any ideas? I am getting this code from Magic Buttons The button: URLRoot()&"db/"&AppID()&"?a=dbpage&pagename=createchildsaveandedit.html&targetdbid="&[_DBID_Estimator]& "&referencefield=11"& "&rid="&[Record ID#]& "&apptoken=xxx" The code page: <!DOCTYPE HTML> <html> <body> <script> const urlParams = new URLSearchParams(window.location.search); const rid = urlParams.get('rid'); const apptoken = urlParams.get('apptoken'); const targetdbid = urlParams.get('targetdbid'); const referencefield = urlParams.get('referencefield'); const xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if(this.readyState == 4 && this.status == 200) { const response = this.responseXML; const redirectUrl = "https://" + window.location.hostname + "/db/" + targetdbid + "?a=er&rid=" + response.getElementsByTagName("rid")[0].textContent + "&rl=bbv"; location.href = redirectUrl; } }; xhttp.open("GET", "https://" + window.location.hostname + "/db/" + targetdbid + "?a=API_AddRecord&_fid_" + referencefield + "=" + rid + "&apptoken=" + apptoken, true); xhttp.send(); </script> </body> </html>94Views0likes6CommentsWorking with %%rid%% and checking a box
I know this has been probably answered before, but I just can't get this formula to work. I want it to save a record (even a new record or already created one) and check a box. I am going to use that box in a pipeline. Here is my formula. Can anyone see what I am doing wrong? It does not check the box (fid is 599). var text RID =If(IsNull([P-Referral Record ID#]),"%%rid%%", ToText([P-Referral Record ID#])); var text URL = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & $RID & "&_fid_599=1"; var text LABEL = "Send Consent to JotForm"; "<a class='Vibrant Success SaveBeforeNavigating' data-replaceRid=true href='" & $URL &"'>" & $LABEL & "</a>"82Views0likes1CommentFormula to populate a field based on another field that contains a specific text string?
I'd like to have a field on a form automatically populate based on if a specific text string exists inside of another field. Let say field 2 will be populate with the text "red squadron" if field 1 contains the text "red". Can I do this with a formula using contains or would I need to create a table where all possible combinations that contain the text "red" would align to being in red squadron?66Views0likes1CommentFormula using Contain
Hello, I'm trying to count how many records I have that have for Field "Account Name" that contains the work "Wire" and the Field Name "Funding Indicator Name" that contains ASC. I'm not getting an error for the way I did the formula but its not counting when the two fields on a record have the "contains" word. If((Contains([Account Name],"Wire" & Contains([Funding Indicator Name],"ASC"))),1,0) Appreciate any suggestions. Thank you63Views0likes2CommentsAPI_GenAddRecord then redirect to a report
Hello all! This is my first post in this forum. I am trying to create a formula URL field that displays as a button on a table report that is filtered by a single date. This button when executed should add the record, save it and return to the report with the same filters that the user started on. This is what I have set up: var text urlone = URLRoot() & "db/" & Dbid() & "?a=API_GenAddRecordForm&_fid_6=" & [Related Placement] & "&_fid_12=" & [Week Ending Date] & "&_fid_504=" & [Job Notes] & "&_fid_505=" & [Placement Notes] & "&apptoken=(my app token)"; var text urltwo = URLEncode(URLRoot() & "db/" & Dbid() & "/tablereport?a=q&qid=16&nv=1&v0=" & [Week Ending Date]); $urlone & $urltwo This will generate the form with the appropriate field populated, but the user must press the save button on the record to return to the filtered report. I have also tried modifying urltwo to var text urltwo = "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "/tablereport?a=q&qid=16&nv=1&v0=" & [Week Ending Date]); but the user must still manually save the record before the filtered reports displays. Any idea how I can get the newly generated record to save and redirect to the filtered report in one click??Solved59Views0likes2CommentsConditional formula url
I'm trying to build a conditional url formula where if a multiple choice field equals a certain person, display this url. Unfortunately, it's not pulling in anything. Here is my current syntax in the formula URL field: If(ToText([Contractor Operations Manager])="Sally Struthers","https://calendly.com/sally.struthers") & If(ToText([Contractor Operations Manager])="Fred Flinstone","https://calendly.com/fred-flinstone") Any thoughts?Solved58Views0likes3CommentsCreate a formula duration over 5 years
Hello, I am trying to figure this out How to calculate a duration for each year based on a varying start date? The start date can be at any month of the year (just calculating months, not days) and the project will last over the next 5 years. Example: IF the Start date is September 2024, there's 4 full months for the first year. And if they're needed for ([Months Needed] is for 12 or 18 or 60 months, then how would I find the duration of the next year, and the next? Would each year need it's own duration field? Like Year 1 duration, Year 2 duration, etc? I'll have these fields [YEAR 1], [YEAR 2], [YEAR 3], [YEAR 4], [YEAR 5]. [Start Date] [Months Needed]Solved56Views0likes2CommentsAn API(?) button to copy fields from the form, to other fields
Hi, so I am having the user choose what type of employee they need to hire. if they're hiring a contractor, they'll also have a choice to an a full time position to convert that contractor later in time. I'm thinking - if they want the contractor data (Department, Level, Role) the same for the Full time position - I'd like to to have them click a button "same for Full time position" that will push that data over to the new fields for the full time detail. This would all be on the same record and form. Thanks!Solved55Views0likes2Comments