Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 10/09/2021 in all areas

  1. It will take a couple Data Pages and a couple new fields in your user table. Confirmation code field unique is required random isn't exactly required, but it shouldn't be predictable Confirmation status field i.e. if confirmation_status !== 'confirmed' { do not allow login } An update Data Page to send the email with a link to the confirmation Data Page, set confirmation status to something like sent or pending, and add a unique value to the confirmation code field. Another update Data Page where the email will link members to that filters the user table by email and confirms the followed the magic link using the confirmation code. This Data Page would update confirmation status to "confirmed" Boom Hope this helps
    2 points
  2. Hi @Joemac - you can check this forum post:
    1 point
  3. Unfortunately I don't as there's a lot of other stuff going on. I'll see on Monday if I can create a stripped down version to post--that's a really good idea.
    1 point
  4. Are you talking about when you add a new element or page to the weebly site? Major changes like that would always require a refresh, I would believe. Or, do you mean, if a user updates a record in a report, or submits a form or something, they need to refresh to see the data? If that is the case, you don't have 'Disable AJAX Loading' turned on, on your datapages, do you?
    1 point
  5. I am experiencing this in one of the five accounts I work in. My experience is slightly different than your description as after about 3 minutes the objects would load and it was not all objects. Data Page editor, app parameters, and table design were all that I can recall. Support knows about this and I would assume are working hard to resolve it - not a minor thing.
    1 point
  6. It’s hard to say something with this info. Where is the symbol? Typed into a field of submission form as a text? Into the url calling the page as parameter? Where you miss it? Into a search result table? Into the table field when you see it from Caspio tables? I tried it on a demo app I have (you can try it here) addin & and something’s to the address field. It seems working.
    1 point
  7. You can use javascript to get the copy the value of the first date field's criteria and pass it to the other fields then hide them so it would show only the first date field with 2 criteria (start and end). There is quite a lot of steps to follow here but it worked for me. First, add two Criteria to all of them. One for Start Date, another for End Date. Configure one criteria as “Greater than or Equal” and the other as “Less Than or Equal” to include all Dates within the selected range. This goes for every single one of the date fields. Afterwards, hide all of the Date Fields except for the first Date field using what I call the "HTML block method". Like this: Just use the same code I used on HTML Block 1 then put </div></div> to HTML Block 2. This creates a separate section for those fields and hides them. Next, add a Header and Footer block and put the script below in the Footer. Dont forget to disable HTML editor: <script> document.addEventListener('input', function drange() { document.getElementById('Value3_1').value = document.getElementById('Value1_1').value; document.getElementById('Value3_2').value = document.getElementById('Value1_2').value; document.getElementById('Value4_1').value = document.getElementById('Value1_1').value; document.getElementById('Value4_2').value = document.getElementById('Value1_2').value; }); </script> But note that this is assuming that the Date fields are positioned at the very top of the DataPage Wizard. The ID 'Value3_1' can change depending on the position. A good way to check is to remove the codes in the HTML blocks to unhide the fields first and inspect the element using F12. Lastly, go to the Logic section and set the Logic to be multiple AND blocks inside a big OR blocks like this: This basically copies and pastes the dates in the first date fields to the others pass them secretly.
    1 point
  8. The way I did it: Make a table called Quiz_Table. Put in fields to record the user and the date. Next, add in as many 'Integer' fields as you want to have questions on your quiz. If there are 20 questions per quiz, add 20 of these fields. I just named mine Q1-Q20. Add a formula field to the table, for the formula you'll need to add together all quiz questions and divide that by the number of quiz questions to get your score. Finally, add a 'Quiz_Number' field, this will tell you which quiz the user took. Now, create a Form datapage. Use the Quiz_Table as the datasource. Add the Quiz Question fields to the form. Type the actual question in the Label of the question field. Set the question fields to 'Radio Buttons'. Add your multiple choices as the options below. For all of the wrong answers, make the value 0. For correct answer, make the value 1. This will make it so if they get the question correct, the value will be 1. If wrong, 0. This plays into the Formula field in the table to calculate score. Then, add in the Quiz_Number field, go to Advanced tab, and check 'On Load, receive default value' and type in a number, and hide the field. This number will be different for each quiz you create, so you can tell in the table which user took which quiz. Now you can duplicate this form datapage and change the questions for all 13 quizzes you need to make, and give them each a different Quiz_Number.
    1 point
  9. I am using two different divs, but I haven't tried a specific container. Thank you! This helps a lot.
    1 point
  10. Unfortunately, I haven't figured out how to change them... without breaking things. Two work arounds that I use... Iframes I use iframes in most of my Caspio applications that rely on DataPages. <form id="caspioform" ... is not the only duplicated ID. Buttons and fields common to both data pages are also duplicated. Iframes let each data page be the only one in the page. Containers Simply putting the data pages into containers can help with this. <div class="dp-container" id="dp-1"> <script type="text/javascript" src="https://*******.caspio.com/dp/12345***************/emb"></script> </div> <div class="dp-container" id="dp-2"> <script type="text/javascript" src="https://*******.caspio.com/dp/12789***************/emb"></script> </div> This approach won't stop the error for non-unique ids, but you can now at least identify the elements accurately. const form1 = document.querySelector('#dp1 #caspioform'); const form2 = document.querySelector('#dp2 #caspioform'); Hopefully this helps!
    1 point
×
×
  • Create New...