Jump to content

Search the Community

Showing results for tags 'html'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 25 results

  1. Is there a way to preview HTML email in trigger without enabling it and sending the email?
  2. Hi Guys, hope someone can assist me with this. I'm creating a Html page which has 3 buttons. Each button has a redirect link to a sharepoint page which contains excel sheets, word files stored in it. I require a code for the buttons which can change based on data availability on sharepoint in this Html page. For example if my system date is 9/24/2019 and if any file is available on sharepoint link with same date information the button color changes to green and if not then red,
  3. Hello, In a tabular datapage I need to show/hide a field (text64000) that contains html markup and needs to display as html. I use a div id to isolate each record in the tabular datapage's recordset. Then I use an 'if' statement to check the values of 2 fields in that record ("field1" and "field2"). If both criteria are met I need to then show the text64000 field ("field3") in html format. If both criteria are NOT met I need it to show nothing. The below code works to check "field1" and "field2" and then show a value in the span, either a typed in text value or a normal text field for that record. The problem is when I try to use the field that contains the html markup ("field3" in this example). It doesn't show anything (is blank). I know the "if" statement is working because I've tested it with other fields, just showing the field in html is the problem. Does anyone know how to tweak this so "field3" will show in html? I tried putting it in a div instead fo a span but that didn't work either. Any help would be greatly appreciated. <div id="mydiv[@field:MyRecordUniqueID]"></div> <SCRIPT LANGUAGE="JavaScript"> if (("[@field:myfield1]" == "SHOW") && ("[@field:myfield2]" == "active")) { document.getElementById("mydiv[@field:MyRecordUniqueID]").innerHTML ="<span>[@field:myfield3!]</span>"; } </script>
  4. I wish to create a multiselect dropdownlist with few group title, which we normally known as "HTML <optgroup> Tag". We can't customize the html inside Caspio Datapage. Is it possible with javascript custom code? Sample image is here below please check and thanks you.
  5. I am trying to create an html block with custom JS code that converts my Record Count Field into a hexadecimal value. Eg. RecordCount = 1000, then convert to Hex = 3E8. I need this value to be displayed. Can someone please assist me with some code?
  6. Please Help!!!! I need to insert a button into a form that when clicked will copy data from one field to another field in the same form. Here is what I have: <script> function onSubmitClick() { "SUB_OD_CYL" = "SUB_OD_SPH" } </script><button onclick="onSubmitClick(); return false">Click Me</button> The field names are : SUB_OD_SPH I want to copy the value entered into this field and place the same value in the field - SUB_OD_CYL I'm sure I'm missing things in the script but I cannot find any clear direction - please help!!!
  7. I've added a "Reset Search" button in a search page and wonder if it's possible to have the "Reset Search" button be on the same line as the "Search" button. I'm looking for something like figure A in the attached image. I know how to add an additional "Search" button thanks to this thread and I've come up with this code: <div align="center"> <input class="cbSearchButton" id="searchID1" name="searchID" type="submit" value="Search" /> <input class="resetButton" onclick="window.location='[my_URL]'" type="button" value="Reset Search" /> </div> However, though the above looks like what I'd like, I would then need a way to hide the original "Search" button, which I don't believe would be possible.
  8. Hi everyone, Does anyone know how to render a calculated field as HTML? I tried outputting HTML tags inside calculated fields, but they display as plain text. Thanks in advance. -dspolyglot
  9. Hi I need to add a button that will redirect to a specific page on a HTML form This button must be visible or not visible based on a condition from an authentication field I created the html form and added this code: <script> if("[@authfield:User_Role]" == "Manager") { ---> Add a code here that will show a button that will redirect to a page } </script> Can someone send me an example code that I can place between the brackets? I tried several options but nothing works.
  10. I need to display a link after a certain time/date (essentially "now" compared to the date entered in the record) in a table. (IF date.table IS AFTER NOW then show this link: http:...) Using rules and sections seems to make the most sense, except I can't figure out the criteria settings. : Condition, Operator, Value. If it's possible to do this right in the HTML/JS, that's cool too. (the script checks to see if someone has completed the form, and displays one of two different links) <script> if ('[@field:connect_PIF_ER_eval_complete]'.length<3) { document.write('<a href="https://www.seaetc.com/participant-dashboard/event-evaluation/?ER_ID=[@field:ER_Events_1_ER_ID]&Ev_Type=[@field:ER_Events_1_Event_Type]&join_ID=[@calcfield:1]" class="et_pb_button_caspio_compeval">Complete Evaluation</a>'); } else { document.write('<a href="../participant_certificate.php?fn=[@authfield:First_Name]&ln=[@authfield:Last_Name]&cred=[@authfield:Credentials]&er=[@field:ER_Events_1_Title]&date=[@field:ER_Events_1_ER3*]&ce=[@field:ER_Events_1_ER17_Total]" target="_blank" class="et_pb_button_caspio_viewcert">View Certificate</a>'); } </script> thx!
  11. I have a working conditional statement using SQL. However, the output (following the "then" statement outputs plain text. Does anyone know how to force it to be formatted as a clickable link? Here's the full statement: CASE WHEN [@field:connect_PIF_ER_eval_complete]='' then '<a href="participant_evaluation.html?ER_ID=[@field:ER_Events_1_ER_ID]&Ev_Type=[@field:ER_Events_1_Event_Type]">Evaluation</a>' ELSE 'Evaluation Completed' END I'm sure it's obvious, I'm just not sure what needs to surround the href tag. Thanks!
  12. I have the following code in the footer and it produces a button on the bottom of my results page that works to redirect the user to another url. <script type="text/javascript"> if(!document.getElementById("norecord")) { document.write('<button onclick=document.location.href="https://www.myirlog.com/logbook/new-record-entry">No, Really, I want to add a new record</button>'); } </script> However, when I put that same code inside of an HTML block, it does not work: <script type="text/javascript"> if('[@field:participant_1_name]' != '[@authfield:Name]' && '[@field:participant_2_name]' != '[@authfield:Name]' && '[@field:participant_3_name]' != '[@authfield:Name]' ) { if('[@field:participant_2_name]' == '' || '[@field:participant_3_name]' == '' ) { document.write('<button onclick=document.location.href="https://www.google.com">take me away</button>'); } } </script> The buttons appear in both locations, but only the footer button works, when the in-line button (the one coded in the HTML block) is clicked, the whole page just refreshes instead of going to google.
  13. Hello, Here is the situation, I need to be able to use html to create a button on a form that will direct the system to generate an email, - that part I have figured out - the hard part is that I need to be able to take data from the Caspio form - and using that data generate a text file that is attached to the email being sent. The content of the text file will be simple instructions populated by the data retrieved in the lookup form. Ive not had much luck finding anything on how to do this - can anyone help?
  14. hello everyone, I am new to caspio but am very happy of their existence. let me explain. as a computer consultant i have been hired to upgrade a customer's website. He has one created exclusively with tools from the DIY website wix.com sadly, wix does not support my customers request for a database. Happily, Caspio DOES support database usage within a wix built website. I first went to Caspio support but they referred me here (for free). Specifically: database has four fields --- first name, last name, ls certification, certificate i.e. text, text, nn-nnnn, pdf file input: last name output: first name, last name, ls certification, link to view pdf of ls certification I am already signed up for next week's 3 Caspio webinars but as of the moment I need you help most! thanks
  15. I am trying to integrate Wix with Caspio. In this case, specifically calling a datapage that I defined, by clicking on an image on a Wix website I am building. The Caspio datapages can read external or system parameters that are set but I could not find a way or workaround to set extra parameters to the request that goes out when an image is clicked. Suppose I have 3 images on my site that call the same caspio datapage when clicked. How do I set parameters based on which image is clicked and read them as external or bridge parameters (or anything I can access) to do processing differently in that datapage based on these parameters. So for example, if image Apple is clicked, one or two (one is good for now) parameters should be set to 'Apple' and 'Red' for the datapage that is called and for the datapage to be able to read these settings. Similarly if an Orange is clicked the two parameters set will be 'Orange' and 'orange' etc. Is there any other way to differentiate to tell me which image was clicked, as a workaround. Any suggestions or solution is appreciated. Thanks!
  16. Hello, I have a text field in a table (64000 characters) that is used for creating a 'footer' address, contact info section to show on certain printouts. The datapage to input the data is a single form update and the field is set to use the html editor/advanced. The datafield in question is part of the authentication. The problem is that in the datapage footer upon viewing it keeps showing all the html formatting markup. I'm using [@authfield:Company_Print_Footer!] with the '!' at the end of it like all my other html datafields (which work fine in displaying). I can't figure out why this particular one continues to show the html markup in display. Any help would be appreciated-
  17. Hi, Having an issue with the HTML "select datasource" drop down. The data page will default for a while but then switch to Common_LU_States as the datasource which is incorrect. I had multiple tables created which I've since deleted. The deletion was done in an attempt to have the datasource required "Reg_Auth" default in the drop down on the data page setting screen as it's completely grayed out so I can't select it. I used the Caspio "how to video" to set-up my authentication, table, and registration form with no issues. However, the HTML data page type will not allow the table selection that's required for authentication for user passwords. I can see the passwords and email information populating into the reg_auth table. However, the HTML code provided that I'm embedding into the website will work for 5 minutes tops never authenticating the passwords instead producing an error message that states "user name and password cannot be authenticated." When the form disappears only the redirect script ... <script> { window.location = "scan.html"; } </script> appears on the website. Ultimately, I have a website where users can register but not login after registering. Any suggestions as to how this can be corrected? Or, any options available other than the HTML data page for creating the login form? I greatly appreciate any help that can be provided. Best, Bre
  18. I have created a page submission form with Estimated Value & Estimated Value 2 which displays like this on the details page: Estimated Value: $10,000.00 to $20,000.00. However to get both numbers to display in the table without being next to each other and making the table huge I have created an HTML block like this: [@Estimated Value] [@EstimatedValue2] The problem with that is then I can no longer sort the results table by estimated value. Is there any way to have the numbers display as $10K and $20K or something similar so the table doesn't end up so long? In addition I need to be able to search the table by Estimated Value so people still need to be able to search by $10,000.00. I currently have the search set to just search [@EstimatedValue] using the criteria options. Thanks for your help!
  19. Hi all, Is it possible to process HTML in an Calculated Field. In the code below, I would like to change the text in an image. CASE WHEN [@field:PAARD_KOPPELINGEN_soort_koppeling]= 1 THEN 'Ruiter/Verzorger koppeling: [@field:GEBRUIKERS_volledige_naam]' ELSE 'Stal medewerker koppeling: [@field:STAL_GEGEVENS_stalnaam]' END Regards Peter
  20. Hi, My goal is to conditionally hide text/ links etc. based on whether the user is logged in or not. TO be more specific, i want the login text to change into a "Hi user..... Logout" link whenever he has logged in. In my datapage i have enabled parameters and writting the following code in an HTML block <br /> <script> var type_user='[@field:Resume]'; </script> where Resume is a Yes/no field in the same dataset, it is a Yes for all users. On my website, i have an HTML code which goes like <script> if (type_user=='Yes') { document.getElementById("uniquename").style.display = "none"; } else { document.getElementById("uniquename").style.display = "block"; } </script> <div id="uniquename" style="display:block;"> <p>I am something.</p> </div> Please help!
  21. Hello there, I have two iFrames inside an HTML Page; one is a Submission Form, the other is a Report shown as Tabular. The iFrame with the Tabular Report receives parameters once you press "Submit" on the iFrame containing the Submission Form. It works, but I have to refresh the HTML Page in order for the changes to show in the Tabular Report. What I want is the iFrame containing the Tabular Report (or the entire HTML Page, either way is good) to refresh once i press "Submit" on the iFrame containing the Submission Form, so that the changes will show automatically after i send the parameters. Can it be done? Any help on this matter is appreciated!
  22. How do I achieve the following: Page footer HTML should ideally be at bottom end of physical screen even if amount of data on the page does not fill the screen consistent width of various objects / divs and also change them based on multiple screen sizes or device types get information on ideal image resolution for logo and footer branding that is consistent with Caspio UI Any method to do the equivalent of “include†in HTML blocks to enable maintainability of HTML code
  23. I am fairly new to this, so forgive me if this is a simple matter. I would like to know if there is a way to use an authentication to change the page of the Wix website it is hosted on. My application is fairly complex (at least for me) and I would like the authentication that occurs at the beginning of the app flow to advance the page on the website to the authentication-protected material. The issue is - with multpile pages on the website and different Caspio datapages on each webpage, how do I provide a user with website navigation but keep the user from having access to the navigation until after they have logged in? If I show a menu on all pages, then they can advance without logging in. If I don't provide a menu on the home (login) page, then how do they advance to other pages that have additional Caspio-based content? The issue is that Caspio controls only the database tables, etc. (I think). My website will have different pages that have different parts of my app, each displaying a different datapage. If I don't provide webpage navigation, how can I get them from one page to another? If I do provide webpage navigation, how do I make it appear only after they have logged in?
  24. I'm and excel guy looking for a simple solution to publish excel data to a Joomla website. Don't know much about databases or html. I have 1 basic excel file, 10 columns and 500 rows. Column 10 is my "filter" and contains 10 different groups for the data. I also want to have different cell background colors based on the values in the cell (either replicate from excel sheet, or ability to set criteria with Caspio bridge). My goal is to embed code on 10 different web pages, each page would display 1 of the groups. Data is updated monthly, was looking for a solution where I could just upload a new source and it would refresh my web pages. Caspio looks incredibly powerful, but it also looks complex. Newbie looking for help - tutorials or resources or advice on simple excel web display. Thanks, Anthony
  25. Hi, I have added a column to my tabular results page using an HTML Block. I need to add a button using HTML to the header of this column in the "Label" field on the Configure Results Page screen. However it only accepts text so when I try to put HTML in, it outputs the HTML as text. Right now I have my button outside of the HTML Block and have it relatively positioned so that it looks like it sits inside the header but it doesn't work very well with different screen sizes. Plus, to make the header wide enough I have to have something in the label field so you can see it peeking out from the button. Here is the website address: https://fullerworks.biz/caspio/facebook/ The problem is in the first column on the results page. Thanks!
×
×
  • Create New...