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.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Is it possible to customize the look and feel of the Forward to a Friend Default Page [closed]

Is it possible to customize the look and feel of the Forward to a Friend Default MC Page? Thanks!
0
votes
1answer
54 views

Is comparing two values possible in Html file of LWC?

I need to compare a list of pricebook IDs in a pricebookentries of a product with a list of PricebookIDs. Is it possible in HTML template? I'm attaching a image to get an idea of the table. Here PB1, ...
0
votes
1answer
23 views

How to make a CSS file used in LWC cross browser compatible?

I have a CSS file with different style classes incorporated in it and this CSS file is being used in LWC. Now what I found it's coming up fine in Chrome but not in Mozilla or Safari browser. How to ...
0
votes
1answer
41 views

How to prevent <lightning-input-field> from changing the column width of Custom Datatable in LWC

I have developed an LWC which uses custom datatable. In that datatable, If I use <lightning-record-edit-form> and <lightning-input-field>, the column widths change. Please see the ...
0
votes
1answer
31 views

Apex includeScript outputting scripts after </html> tag

I am using the loadOnReady="true" attribute of <apex:includeScript /> to defer loading of scripts till DOM rendering is complete. Here's my VF page skeleton: <apex:page doctype=&...
-1
votes
1answer
33 views

How to put the text in next line without having space in between

I am working on the req in which i need to put the text in the next line without any space between them i am trying to use the tag but it is creating unwanted extra space between the line can i get ...
0
votes
0answers
39 views

Creation of dynamic rowspan in an HTML table

I have a component that shows me records and I use "aura:iteration" to create the table rows, but if those records are the same family or category, I end up bringing them together, because ...
0
votes
1answer
31 views

How to make a force.com site mobile responsive in Chrome?

I have developed a Visualforce page and I have put it in a force.com site. I have added the <apex:slds /> to my code to make it mobile responsive but it is mobile responsive only in the VF page ...
0
votes
0answers
83 views

The attribute “xmlns” on the element “html” is not allowed, or has a value that is not allowed

This is the beginning of a template I built on lightning: and when trying to save I get these errors: The attribute "xmlns" on the element "html" is not allowed, or has a value that is not allowed. ...
0
votes
1answer
323 views

LWC- template for loop - having each loop values appear on a different column

I am having trouble aligning every single iteration of the values of the for loop appear on columns side by side. This is the output I have now. In the below picture I want to have Alberta and its ...
0
votes
0answers
16 views

Use Community HTML Component to create nested unordered list in an ordered list

I am trying to use HTML code to create an unordered list nested in an ordered list. No matter what I try, the nested list has numbers in it. It isn't functioning like straight HTML. Can anyone get ...
0
votes
1answer
40 views

Italicize subset of text in label of radioGroup

I am trying to hightlight part of the text in a radioGroup label. I can do this in a checkbox component using CSS. <aura:attribute name="registrationOptions" type="List" default="[ {'label':...
0
votes
1answer
76 views

Italize subset of text in label of a checkbox lightning component

I want to italicize part of the text in a checkbox label. I am not finding a way to do this. For example, I want the checkbox label to say Biologics technical workshop. Only the word Biologics ...
0
votes
1answer
20 views

render the html-placeholder based on country

How can i render the html-placeholder based on country? In the screen shot below, if the country is Canada, i want to display the html-placeholder as 'Enter Postal Code' Currently this is the code I ...
0
votes
1answer
141 views

Marketing Cloud Responsive Layouts Not Responsive

Does anyone here ever encountered that the Empty Layouts of Marketing Cloud are not rendering good in some mobile devices (more on iOS Outlook). What solution or workaround did you do to fix this ...
0
votes
2answers
366 views

How to debug HTML file in Lightning Web Components?

I am new to Lightning Web Components. I created a LWC that will search for accounts and display the account name. Initially, I was not able to display data in html file because I was using {acc.name} ...
1
vote
0answers
313 views

HTML5 canvas gradients in LWC are all black

I'm trying to create a HTML5 canvas with a simple gradient in LWC. However, it's all black. The code I'm trying is almost completely copied from W3C (except it's adjusted for LWC). HTML <template&...
1
vote
1answer
50 views

I want Rich Text Editor and HTML place holder for the some of the description fields in Visualforce page using slds

Find my code below: I am able to display rich text editor but not html placeholder. <div class="slds-form-element__row ma-ltss-font_style slds-p- ...
0
votes
0answers
26 views

Salesforce Object which holds “HTML & CSS” records?

I am quite new to Lightning Development and appreciate any help. I have a custom object called "template" and the requirement is the following: There are n template records let's say "standard" and "...
1
vote
1answer
4k views

How to concatenate a value inside of the href property on lwc [duplicate]

I have the following code and I need to insert a '/' in my href property. <template for:each={assetData} for:item="item" for:index="indexvar"> <tr class="slds-hint-parent" key={item.Id}&...
0
votes
0answers
42 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
30 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
176 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
2answers
951 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
1k 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
169 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 ...
3
votes
2answers
2k 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
305 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
509 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 ...
4
votes
1answer
339 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" ...
3
votes
2answers
630 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
110 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
831 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
162 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
1k 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
253 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
152 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
2answers
3k 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
425 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. <...
3
votes
1answer
8k 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
1k 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
637 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
972 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
392 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
348 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
973 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
350 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
678 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
302 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
422 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 ...