Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
34 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
77 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
42 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
34 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
49 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
61 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: &...
1
vote
0answers
41 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
249 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
47 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. <...
0
votes
0answers
91 views

HTML Email Template Image alignment issue

I would like to centre align an image in an email template; but I have to use the HMTL (with letterhead) format. When I add the image it automatically aligns to the left, and when I highlight it ...
0
votes
1answer
2k 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
368 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
120 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
283 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
152 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
200 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
643 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
136 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
276 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
164 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
120 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
0answers
30 views

Render Image based on multiple date/time fields in visualforce

In a visualforce page I have to show different images based on the date/time fields order which are 12 in number. If all 12 fields are populated then 12 different images are to be added based on the ...
0
votes
2answers
96 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
135 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
1k 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
72 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
282 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
97 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
205 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"> <...
4
votes
1answer
1k 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
397 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
232 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
213 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
233 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
564 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
426 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
682 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
1k 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 ...
0
votes
0answers
255 views

i click next button display single record details in visualforce page

i have 50 records in one object, those REcords are display in visuaforce page and, once i click first Record that is display the record details in another page then click Next button display another ...
0
votes
1answer
726 views

Water ripple effect on background

I got this damn good thing from internet and need to implement exact thing in my development. Can someone please let me know how to do that? I am extremely new to javascript part and I will implement ...
0
votes
1answer
225 views

how to sort by Date related display the Records in visual force Page

I display 20 Records in Visualforce Page, and Created SortBy: Date Button. Once Click the Date Button it should display selected Existing Records and Previous Records, in visualforce page using in ...
3
votes
2answers
510 views

Formatting an outputText value field in HTML (VF Page)

I have a VF Page with apex tags and have to transform it in HTML to adapt for Salesforce1. With apex I was able to format a text field as number and get only 2 decimals: <apex:pageBlockTable ...
0
votes
1answer
452 views

how to compress the image size in visualforce page [duplicate]

I can upload 1 MB images in visual force, it will be store in Document Object. Other wise if i Upload more then 1 MB images in Visual force page It will be Display Error Message
1
vote
1answer
437 views

Can apex:inputFile have the html5 validation function?

My web page is a form using html5 validation to check blank. All field in my form can use html5 to perform validation, except the inputFile field for uploading attachment. Can apex:inputFile have the ...
2
votes
0answers
543 views

How to select picklist value based on an apex:inputField

In my LiveAgent prechat form I have a picklist for Department that has a Chat Button ID assigned to each value with a fallback button. <td> <span class="chatFormLabel">Department:</...
3
votes
2answers
1k views

<apex:SelectList > required =true attribute is not rendered in the underlying HTML

I have a <apex:selectList> (multiselect) tag and I have set required attribute to true. I then set docType="html-5.0"at page level so that I can take advantage of html5 validations. ...
4
votes
2answers
2k views

document.getElementById().value not working for <textarea> in lightning component

I have a lightning component which acts as a text area field. The mark up is as given below. <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes"> <aura:...
1
vote
2answers
372 views

How to build an HTML grid from the controller values using HTML controls in Visualforce

So I am using the SLDS and it uses all HTML5 syntax. I'm curious how to build a table/grid using a controller. I am trying using a static reference inside the control. I figured I'd create a ...
1
vote
1answer
820 views

Bind Data to Lightning Design System in a Visualforce Page

How can I bind data to controls built in the lightning design system within visualforce. It seems that it's more HTML/CSS based vs apex:control based. Changing my question to refine and make more ...