Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html5]

HTML5 is the latest standard for HTML. It was specially designed to deliver rich content without the need for additional plugins. The current version delivers everything from animation to graphics, music to movies, and can also be used to build complicated web applications.

0
votes
1answer
26 views

Text wrapping not working in LWC

I am trying to create two tables side by side with a space in between. One column has a long text which is not wrapping and table is going out of the page. If i do Ctrl+P to print, those two tables ...
0
votes
0answers
16 views

Users are sometime unable to select a file using <input> in a lightning component

I got a lightning component that uses to allow users to load files on Salesforce. It has always worked fine (for months) until about a month ago (end of April, first reports). Files are in .doc or ....
0
votes
1answer
24 views

How can the layout of a pageBlockSection be fixed in place so they don't move around when completed?

I have a pageBlockSection that moves/jumps up the screen when a value has been entered. How can I fix this and its contained inputField in place? If I use the following, when the field is changed the ...
2
votes
1answer
22 views

HTML List structure in a PDF rendered Visualforce page

I have a visualforce page which has a nested list structure. Sample code below. Visualforce page <apex:page controller="RoleStructure" showHeader="false" > <html> <apex:form &...
2
votes
0answers
136 views

HTML <select> required Attribute not working in Visualforce?

I'm trying to implement a form with a required drop-down list on a VF page, as described in this example. If you click on the link above and run the sample, it works fine but when I try to implement ...
0
votes
2answers
88 views

How to display Date (Format 'DD/MM/YYYY') in a single input type textbox in cloudpage

I'm trying to display a Date in a single input type textbox in Cloudpage, the data will be coming from Data Extension. I tried changing the type to date : <input type="date" name="...
0
votes
1answer
28 views

Star Rating not rendering on custom HTML email in Marketing Cloud [closed]

We have created an email in Marketing cloud using an existing Blank template where we can drop our custom made content blocks. And for one email we have a requirement where we need to capture the ...
0
votes
0answers
18 views

Is it possible to use HTML5 picture tag in a lightning component? [duplicate]

I'm trying to have a scalable image on my aura component - I'm aware I can probably use img tag with some css media queries for this - but was wondering if it's possible to use the following HTML 5 ...
2
votes
2answers
216 views

Assign content to multiple slots in LWC: how to insert the same slot content to multiple template slots in LWC?

I want to build a custom configurable interface to pass two buttons to header and footer of a standard card element. So, I have a component card with card template <template> <lightning-...
1
vote
1answer
66 views

Document.fullScreen API implementation in Lightning Web Components(LWC)

I was trying to achieve full screen on an element in Lightning Web Components but was unable to use Document.fullscreen API. I tried var elem = this.template.querySelector('svg'); if (elem....
1
vote
1answer
78 views

Capture Survey Response from an Email and store answers into a Data Extension

Is there a way that we can create a survey in the Email and capture the customer responses in the Data Extension? I'm looking for a solution for it, and found out that Surveys are no longer ...
3
votes
1answer
76 views

HTML5 DocType not getting set

Any idea why this is not generating an html5 doctype in my pages? <apex:page applyBodyTag="false" applyHtmlTag="false" showHeader="false" cache="false" contentType="text/html" sidebar="false" ...
0
votes
0answers
61 views

Text overlay on an image in lightning component

Hope someone can help in what I am trying to do. We have a custom object in Salesforce where marketing uploads an image say something like this We have other field in the same object with data like ...
3
votes
2answers
278 views

Html5 data list not displaying in lightning component

As Lightining components supports majority of html5 tags I have used the below code in lightning component code but it doesn't get shown in UI properly, The picklist options from data list is not ...
6
votes
2answers
90 views

How can I force Visualforce to include empty attributes which I have specified?

During my adventures trying to get a <select required="required"> to actually be required, I discovered: If a select element has a required attribute specified, does not have a multiple ...
0
votes
2answers
140 views

How can I update data extension after clicking Submit Button in the cloudpage?

I would like to update a field name "Email_Optin" in my data extension after clicking submit button and set the Value of it to True. Is this possible using ampscript?. Thank You!
0
votes
1answer
56 views

How do I get this HTML/CSS code to make two boxes on one page?

This VF page HTML uses the Gimbal Barcode app to create a barcode and some instructions. The code creates two pages, each with a border, and places the barcode in the top page and the instructions in ...
0
votes
1answer
237 views

dir=“rtl” and dir=“ltr” is not working on Android 4.4, 5.1 and 6.0 Email

dir="rtl" and dir="ltr" is not working on Android 4.4, 5.1 and 6.0 Email Any ideas on how to fix this issue?.
1
vote
0answers
126 views

Canvas in visualforce page is not capturing data when used in touch screen devices

I have a requirement to capture user's signature using <canvas> and save it to a record. It is working with mouse but not when using touch screen devices like mobile phones. Below is my code: &...
2
votes
0answers
94 views

navigator getUserMedia in visualforce page for salesforce1

I want to access mediaDevices from a visualforcepage. From within chrome browser the page is working, but when I open it from salesforce1 it somehow gets stuck on the following Promise: navigator....
0
votes
1answer
882 views

How to disable the increment and decrement buttons for lightning:inputField that renders a number?

I have a lightning:inputField within a lightning:recordEditForm. How can I disable the increment and decrement buttons for ALL fields that render a number? I tried setting the class conditionally to ...
2
votes
1answer
109 views

UI is not rendered properly. Problem with SLDS

I was trying to create a visual force page but I bumped into an error. SLDS style sheets which I Included in my code is not being rendered. As a result, the entire page looks ugly without CSS. <...
1
vote
1answer
4k views

draggable=“true” is not working in firefox for Lightning Component

draggable="true" is not working in firefox. The following code working fine in chrome,but not in firefox. DragDropDemo.app <aura:application > <aura:attribute name="values" ...
-1
votes
1answer
598 views

Font color for outputField in <td> tag

Using outputField in a html table tag. Can't seem to get the font color to show. Not the planned use of color but need to get this much working. <table class="htmlDataTable" > <td ...
0
votes
1answer
261 views

Allow backspace in contenteditable in Service Console

I cannot press backspace in a <div contenteditable="true" /> in Service console. I would like to. The reason, as far as I can tell, is that in ServiceDeskViewCTI.js, there's the following line ...
2
votes
1answer
513 views

How to pass data to lightning controllers with change events?

I need more information about the context after triggering a change event. I decided to use data- attributes (that can only be applied to regular html tags). Since I'm using <ui:inputNumber, I can'...
1
vote
0answers
288 views

animate a canvas component

I need to highlight a child canvas component inside the parent canvas component. The parent canvas is a circle and the child canvas components are small circles inside it. I need to highlight these ...
2
votes
0answers
241 views

ui:inputCheckbox disabled property not working in Microsoft edge

I am dynamically rendering disabled property of checkbox to true or false from controller. This works fine for other browsers but does not for Microsoft Edge. The checkbox remains disabled, i.e it is ...
0
votes
0answers
769 views

How to apply external styling to ui:outputText

I want to apply external style for truncating the text displayed by ui:outputText. Markup: <lightning:layout multipleRows="false"> <lightning:layoutItem class="slds-p-around--medium"&...
0
votes
1answer
240 views

dividing the records using div tags

kindly let me know how to divide the below records using apex:repeat in 2 columns using div tags Visualforce:- <apex:repeat value="{!sa.Country_Languages__r}" var="cLang"> <apex:...
0
votes
1answer
390 views

Remove/skip a blank line in HTML email template

We have an HTML email template, wherein a if statement outputs a blank by comparing for two values and a field value for rest. Please see below If statement: {!IF(OR(Case.Team__c='Bronze',Case....
1
vote
1answer
225 views

html entity to lightning component

Can I add html HTML Entity to lightning component for example: HTML5 Named Entity:&star; or Decimal: &#9734; or Hexadecimal: &#x02606; For example: <ui:outputText value='&star;'/...
0
votes
1answer
184 views

HTML Personal Signature has too many characters. Workaround the 1,333 character limit?

I tried creating a personal html email signature for a client of ours but the max number of characters it can have is 1,333 but the one I created has much more than that. Does anybody know how I can ...
0
votes
2answers
123 views

Using Global variables inside of Custom Metadata with Visualforce page Modal

What are design options for the following requirements? End user specifies the text of a Modal window to be something like: Hello [User Full Name], Because you chose [Case.FieldA] goto this <a ...
0
votes
1answer
190 views

Is it possible to specify doctype in Visualforce components ?

Is is possible to specify DOCTYPE in Salesforce visual force components? How can DOCTYPE affect the responsiveness of the component (If we have given some styling/responsiveness to the UI) Any ...
7
votes
1answer
2k views

The purpose of ARIA attributes in Lightning components

In samples of Lightning design system I have seen a lot of aria-* attributes, for example: <ul role="tree" aria-labelledby="treeheading" ...> <button aria-controls="accordion-details-01" ...
0
votes
1answer
122 views

Is it possible to create a tag in visualforce using apex?

I want know if is possible to create a tag html in visualforce using APEX. for example: <table> <!--TR and TD will be generated by APEX--> </table>
0
votes
0answers
337 views

How to stop the <apex:form> onSubmit event from triggering when html5 validation kicks in?

I have this simple form <apex:form onSubmit="alert('submit!');"> <apex:inputText id="a" value="{!a}" required="true"/> <apex:commandButton action="{!signup}" value="b"/> </...
0
votes
2answers
1k views

Implementing Deep Links in Emails

I am trying to implement Deep Linking in our emails. I was able to "Break" the link using ampscript and the function is working in Android but not working with iOS. Has anybody had any experience with ...
0
votes
1answer
121 views

Help with Visualforce Email Template

When we create an opportunity we create a certain number of quotes (custom, child record). I would like to be able to send an email to include information from all the quotes created under the ...
2
votes
1answer
275 views

Locker Service With Inner html tag issue

I have below code where i am trying to display data in a table format based the html element stored in a field. <table class="slds-table slds-table--bordered slds-table--cell-buffer"> <...
3
votes
1answer
2k views

Sorting List in descending order

I have created a th/td HTML table where Wrapper class List is already sorted with Comparable interface. Requirement - User should be able to sort it in descending order based on the same field as ...
0
votes
2answers
515 views

How to Hide/Show HTML Button based on Users Profile

I want to display HTML button to System admin and Super User. I have written the below code: <apex:outputPanel rendered="{!isEditAllowed}" layout="none"> <button type="button" onclick="...
-1
votes
2answers
296 views

Hi, I am trying Execute the following code in Visualforce page to get the current Location, But output is not coming. Please check & provide solution

Link of the code: http://www.aspsnippets.com/Articles/Get-Current-Location-Latitude-and-Longitude-using-JavaScript-and-HTML5.aspx Code: <apex:page> <script type="text/javascript" src="http://...
5
votes
0answers
265 views

Hitting error when trying to save HTML5 canvas in VisualForce Page

We have a requirement to open an image attachment in a VisualForce page, the user should be able to draw on the image and those edits should be updated in the attachment on save. So to achieve this, ...
0
votes
1answer
298 views

html5 validation on apex:inputsecret

html5 validation fires on all fields except apex:inputsecret field.Any reason behind this ? <apex:page id="Registration" showHeader="false" controller="SiteRegisterController" title="{!$Label....
1
vote
1answer
707 views

Passing a string with line breaks from Apex to a jquery datatable cell

So I'm passing the following string structure to populate a jquery datatable cell: rows[i-1].put('Message', rows[i-1].get('Message') + ' *** ' + noteInner.get('Message')); Add this gets ...
0
votes
2answers
531 views

Show output field value in VF NEW record page without reload

I am trying to display an output field value in VF page before saving the record. If user select checkIn & checkOut date (both are date field), display the "Length of stay". Length of Stay is a ...
1
vote
1answer
882 views

Local Web Storage for Apex

Hi I have written a plain HTML with javascript that gets an object from Local Storage and works just fine, when I moved the code to Visualforce page, I get NULL back console.log("inside Retrieve ...
1
vote
2answers
2k views

Visualforce Page: Error for Input Type Number: Unable to validate type 'number': data type not provided

I tried using <apex:input type="number" /> in VisualForce page, however, it gives an error of: Unable to validate type 'number': data type not provided I've already put docType="html-5.0" in ...