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.

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
350 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, ...
3
votes
0answers
194 views

Salesforce1 HTML select onChange function not working in Salesforce1 IPAD app

I have created an HTML5 VF page to be used in Salesforce1 app. It has a select list Called Event Name with values: Presentation Lecture Other There is another text field called Type. This has to be ...
2
votes
0answers
185 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....
2
votes
0answers
413 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 ...
2
votes
0answers
745 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:</...
2
votes
2answers
1k views

DatePicker Issue

I have two text field: One normal text field that accepts numbers. <apex:inputField value="{!FinancialAssCont.Down_Payment__c}" styleClass="form-control downpaymentAmount" onblur="...
2
votes
0answers
149 views

backbone.js in Salesforce1

I am starting to build some mobile samples in Salesforce1 using backbone.js I came across two js libraries - Backbone.Force https://github.com/pwalczyszyn/Backbone.Force this extends backbone.js ...
2
votes
0answers
530 views

HTML5 Required Elements Act Differently with Re-Render

This issue may be linked to this post, in which case I think the bug wasn't fully fixed...but hopefully it's more simple than that... I have the example below - a basic input form using HTML5 error ...
2
votes
0answers
1k views

Print Functionality in Salesforce1 Mobile App

I am trying to do the print option in the Salesforce1 Mobile app. I have tried two methods of printing, one is a Javascript method and the other I've tried using is the canvas method. But both methods ...
1
vote
0answers
37 views

<apex:input> data type error

I just tried to introduce a new date field on an old Visualforce page like this: <apex:input value="{!fromDate}" type="date" label="From:"/> In the controller the ...
1
vote
0answers
541 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
0answers
333 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
410 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 ...
1
vote
0answers
412 views

How to make html datalist compatible on IOS which is present on my visualforce page?

<apex:inputText list="{!listOfStringElements}" id="userInput" onChange="alert(this.value);"></apex:inputText> In the above code the list attribute generates a dynamic datalist but the ...
1
vote
0answers
213 views

View a PDF and TXT file from within an HTML static resource

So i have created a website in pure HTML 5, with some css's, jquery's and modals and locally on my PC it's all working great. I have some PDF and TXT files that i want to be able to view and it's ...
1
vote
1answer
46 views

Mismatch of alignments of fields in CSS

This may be pretty simple, but for me its like a hell. The code I tried was in both apex and html5. I want to get the fields in a proper way.I want to get state field under city and country field ...
1
vote
0answers
1k views

Date and Number locale problem on html5 input type=date/number

Question Is there any chance to send data in generic date format (yyyy-mm-dd) in standard save method? I need to user apex:input type="date" (or number). But Salesforce save method is not ...
0
votes
0answers
49 views

Modal always opening on top of the page in mobile view - LWC

i am using standard html table on click of i am opening a modal . When user is at bottom of the table or somewhere middle, when clicked the modal is opening at top of the page and user has to again ...
0
votes
1answer
43 views

How to get the popup long text Aligned even in Zoom in and Zoom out? - LWC Component

This Image is when I clicked on Button and it showed popup with any zooming. This image is when I zooming under 100%. Could you please suggest how to show the popup with text without split. I am ...
0
votes
0answers
20 views

How can I conditionally apply an attribute to an HTML element?

I need to implement a basic Checkbox Toggle element in Visualforce: <div class="slds-form-element"> <label class="slds-checkbox_toggle slds-grid"> <span class=&...
0
votes
0answers
14 views

Fail Record video Html

I am creating a component that allows me to create a video with the webcam, using MediaStream. I can't find how I can start recording the video. Any ideas what I will be missing? inicial: function (...
0
votes
0answers
35 views

contentType="text/plain" is not taking in line breaks in a visualforce page

I have built up a Visualforce Page, which gets built up dynamically and is sent over as an Email Template <apex:page controller="EmailController" contentType="text/plain"> ...
0
votes
1answer
135 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
33 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 "...
0
votes
0answers
54 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
2answers
2k 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
342 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
0answers
1k 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
2answers
333 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
0answers
487 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
1answer
290 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 ...
0
votes
1answer
356 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 ...
-1
votes
1answer
34 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 ...