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.

learn more… | top users | synonyms

1
vote
0answers
7 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. ...
3
votes
2answers
56 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
33 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
52 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 ...
1
vote
1answer
26 views

How to assign variables from <apex:repeat> during an ondragstart event

I want to allow users to drag and drop items in a table to easily reorganize. I am running into two problems. The first is that, when I add an ondragstart value to my tag, I get a slightly delayed ...
0
votes
0answers
18 views

How to let user browse, upload, and display image live (event firing/triggering)? I want to write the code in my component

Does anyone here know how to create a feature that allows users to upload pictures to my page and display them live on the page without reloading (event firing/triggering)? I need to write the code in ...
1
vote
2answers
57 views

Can we create HTML markup dynamically from helper/controller in a lightning component?

Lightning gives us the scope of creating aura components dynamically from the controller/helper using $A.createComponent/createComponents. However, I was wondering if there is a way to create HTML ...
0
votes
0answers
32 views

When Scroller Down to touches Down Arrow show the Contect Object Records using visualforce page

First i dispaly Contact of 10 Records when i click CommendButton (Next) display Next 10 Records then assign a scroller First Dispaly 10 records When Scroller Down to touches Down Arrow show the ...
0
votes
1answer
74 views

Lightning component access to scrollTop

I would like like to get the scroll position of a tbody in a lightning component, what's the supported way to do this? cmp.find('myComponent').getElement().scrollTop is undefined. If I do this in ...
0
votes
1answer
49 views

Edit Image Before Upload [closed]

I have a requirement like after choosing the file there should be a section below that for edit purpose so that i can crop the image and a button should be there to replace the original file with the ...
0
votes
3answers
128 views

Pass selected value from html <select> to controller

I have to pass the selected picklist value by user from apex form using <select> and <options> html tag to a standard controllers picklist field. I am unable to get the values from Page ...
2
votes
2answers
51 views

How to specify a background image for PageBlockTable

Plase see the below code i want to put image in backgroung in table. <apex:page standardController="Contact" recordSetVar="Con" showHeader="true" sidebar="true" renderAs=""> <apex:...
1
vote
0answers
34 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 ...
4
votes
1answer
39 views

Can't save pasted email code

I've been trying to paste some email code into the edit section, and I cannot save. I am not getting any error code really, just a message that says "An unexpected error has occurred". I called sales ...
3
votes
2answers
76 views

Datetime format conversion in apex

I have an input field in my visualforce page which uses the html 5 input element as type="datetime-local". The value that I capture from the field is of the format 2016-04-09T23:58 . I want to use and ...
0
votes
0answers
22 views

I am using angularjs offline functionality in salesforce but facing some issue related to manifest file

I have posted 1 question earlier at http://bit.ly/22KMJOx. This question is related to the link mentioned earlier, I am facing another issue saying Application cache error event :Manifest fetch ...
1
vote
0answers
45 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
0answers
19 views

Lightning component : displaying some text [duplicate]

In a lightning component I display some text dynamically, from the field "Description" of a customized object "Article__c". So when in salesforce I fill the Description field, it appears in my ...
1
vote
2answers
124 views

Application Cache Error event: Failed to parse manifest

I am trying to load an application built using angularjs and salesforce with offline capabality. For this functionality i am using Offline Caching Using the HTML5 manifest Attribute provided by ...
0
votes
0answers
54 views

Using Visualforce page exporting to excel i am not able to wrap the text in the Excel

Can you please help me how to wrap the text while exporting to excel from visualforce page. I have created visualforce page "RiskReportExport" and placed the button "Export to excel" and written the ...
0
votes
0answers
13 views

can i email or download pdf once upload into DSA?

In IPAD I have uploaded the zip file with pdf in DSA but i can't able to download or mail that PDF please tell me solution How can i download the PDF once upload in DSA? Or is there any way to email ...
0
votes
0answers
83 views

Display All the Images from static resource zip file in One Div element for carousel effect

I Want to do a carousel effect in visualforce page and I achieved that somewhat. I have static resource zip file which contains four images in it. For carousel effect am just giving the names of the ...
0
votes
1answer
84 views

Override the base target=“_top” for link in visualforce page

There are lot of links in my page. Of which most of them are to be opened in the same tab so, i have set the base target="_top" but For particular columns of link i need to open them in new tab. ...
0
votes
2answers
412 views

how to dynamically change the tabs using javascript function?

In visualforce having two tabs(tab1 and tab2),i need to show defaulty tab1.when call tab2 need to hide tab1 and show tab2. i am using anchor tag <a href="#tab2"> <div class="tabs-...
1
vote
2answers
406 views

navigator.geolocation.getCurrentPosition fails in Visualforce page

I ran into a rather bizarre issue today with the HTML5 Geolocation API. I'm working one a Visualforce page in Salesforce1 that grabs the user's current location and passes it up to an Apex Controller ...
-1
votes
1answer
179 views

how to convert an HTML class to visual force component class

I have a code in HTML and i need to convert it into VF. My HTML code is like <input id="Lname" value="" class="validate[required] text-input" maxlength="40" name="LastName_Web__c" size="20" ...
1
vote
2answers
221 views

How can we implement MVC while developing mobile application in Salesforce using HTML5?

We are developing application using HTML 5 in salesforce. In most of the examples available we can see that logic, data biding and UI implemented in same page. Even entire application they have ...
0
votes
0answers
85 views

Binding salesforce recod to java script in a html table

I have a task where in i have to assign a record to a td of a table, using java script and later i should be able to edit that record. Here is the code. [![<apex:page standardController="...
0
votes
2answers
358 views

How to execute the standard Onclick Javascript code from Detail Page Button in a Visualforce Page?

I've a custom button in the detail view of the object (type is onClick Javascript). I have a visualforce Page where I'm trying to replicate the same functionality done through the Onclick JS button in ...
3
votes
0answers
103 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: Presenation Lecture Other There is another text field called Type. This has to be ...
7
votes
1answer
379 views

<input type=“range” /> not working on iOS

I've created a very basic lightning component: <aura:component implements="flexipage:availableForAllPageTypes"> <input type="range" min="0" max="100" value="50" /> </aura:component&...
1
vote
1answer
130 views

Merge fields for HTML5 attributes of Visualforce tags

Is it possible to include merge fields for custom HTML attributes of Visualforce tags? The following code doesn't seem to work. <apex:repeat value="{!lst_items}" var="item"> <apex:...
0
votes
1answer
226 views

Canvas signature capture issue on page scroll

We tried to integrate the multiple signature to VF page, but we have some issue when we scroll the page for signature, the signature part not working properly. Can anyone please help me out in this? ...
10
votes
2answers
2k views

Including SVG in a Lightning Component

I'm trying to animate a circular countdown timer for my lightning component, but it seems I can't use SVG tags (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/...
1
vote
1answer
339 views

visualforce vs HTML/CSS/JS

UI requirement for our application are such that applications should be very responsive with very less lag time. Users should be able to use mobile easily while working with application. There are few ...
1
vote
1answer
256 views

Set html tab as active on window reload

I am using the html tab tag to show different tabs in my salesforce page. When I am on my second tab, an operation requires me to reload the window. I use window.loaction.reload() for the same. But ...
1
vote
2answers
299 views

Download pdf and video file from html page

I am stuck at a point where I have to give a link to the user on the UI which on getting clicked will download a pdf and video files. I have placed these files as static resources and I am trying to ...
1
vote
1answer
36 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
2answers
360 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="...
1
vote
0answers
101 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 ...
1
vote
0answers
505 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 ...
1
vote
2answers
3k views

Upload and download files/attachments

I am building a custom application in Salesforce using HTML. The user who logs into the application should be able to upload multiple documents and download the same once they are uploaded. I want to ...
0
votes
2answers
328 views

Visualforce + Google Polymer

I am looking for examples which show Visualforce with Google Polymer integration. Can anyone point me to relevant links?
0
votes
2answers
942 views

Force Document mode in IE11 to IE9 Using Html or Apex

I am working on a website where I enter some data in text fields and click a button to fire an event. I've found out that this event works for IE-9 or lower and Firefox or Chrome. I want to make it ...
0
votes
0answers
38 views

How to get 'n' no of rows and columns in a table using visuaforce pages or html or javascript [duplicate]

Can any one help me out how to get this achieved in the below screen shot.I tried using Visual force pages but unable to do it.I shall appreciate your help.Is this the correct way im doing Code ...
2
votes
1answer
399 views

Is it possible to make apex:input “locale aware”?

I want to use the fairly new input types that HTML5 defines. In Salesforce, the different types are: date, datetime, datetime-local, month, week, time, email, number, range, search, tel, text, and url....
2
votes
1answer
300 views

Visualforce Compilation Error: “Expected input type 'text'”, got 'date' for Id data type

I have an input like this <apex:input type="date" value="{!myMap[myKey].DateValue}" /> In my apex:page i have put the docType="html-5.0" attribute but i can't save the file with this ...
0
votes
2answers
697 views

how to get a 3 Tables side by side in a Table using HTML

I have three different tables with part number ,Pricing Request and Quantity.All these table should be created in a table with different tables.I have used html table but it comes on below the other ...
6
votes
1answer
399 views

Dynamic Visualforce Components - Access Pass-Through Attributes

Is it possible to use html-pass-throug attributes at Dynamic Visualforce Components? Component.Apex.InputField result = new Component.Apex.InputField(); result.style = 'font-size: 9px'; result.title ...
2
votes
0answers
303 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 ...