Hypertext Markup Language

learn more… | top users | synonyms

1
vote
0answers
21 views

How to use html textarea compnent in visualforce page?

I am having a field, Final_Step__c which is of data type Text Area. I am showing it in VF page: but, due to maximum length issue of <apex:textarea> i wanted to use html <textarea> ...
0
votes
0answers
17 views

Render text as HTML in visualforce page or custom field?

I would like option for users to post text as html to a custom object page layout. (custom field doesn't seem possible as it looks like Rich Text field doesn't render HTML) Moving from JIRA to ...
2
votes
3answers
43 views

HTML equivalent of apex:inputFile?

Is there a html equivalent of <div id="file"> <apex:inputFile value="{!attachment.body}" filename="{!attachment.name}" id="file" title="Upload Attachment" ...
2
votes
1answer
22 views

Can I append apex elements to html with jQuery?

In a visualforce page, if I have a DOM completely created dynamically with jQuery, could I append the following code dynamically too? <div id="file"> <apex:inputFile ...
0
votes
0answers
12 views

Phone call link in mobile version of an email - help

I am struggling putting a mobile call link onto an image that works in the mobile version of the responsive email. Here is the email: Link The image on the top with the phone number is the issue ...
4
votes
1answer
45 views

How to load static javascript resource in HTML Component

I've uploaded a jQuery library document into our SF Shared Documents and want to be able to reference that document in a sidebar HTML component. I've tried many variations of the below with no luck: ...
1
vote
0answers
19 views

Edit the email template content before sending to the user

I have created a custom(without using letterhead) email template with HTML content.I have made the contenteditable=true in the HTML version. But when I try to edit the email template and send the ...
0
votes
0answers
22 views

Apex outputlink won't let me navigate to the page I'm already on - Android

I'm working on an angular app in salesforce1. I have implemented a basic dropdown navigation menu. At the moment, if I want to refresh the page I'm working on, I open the menu and select the same ...
3
votes
1answer
36 views

Show a components of div tag based on condition

Hi Friends my second question here, got an excellent answer for the first one: I have displayed a div tag as below: <div class='tabHeaderSection cb'> <ul> <li ...
2
votes
1answer
45 views

Preloader in Visualforce page and align text in the center

I have added a circle by using the HTML SVG tag in a VF page. When i render that page as PDF, it's not showing that circle. Is there another way to add small circle but also to be visible when ...
0
votes
1answer
74 views

Issues moving a page into VisualForce

have a page that was coded outside of force.com and I have to move it into a Visualforce page. Then, just for kicks, I took the source of the page out of force.com (where it doesn't work) and created ...
0
votes
1answer
53 views

Extra IMG added to HTML body of an email message sent by Messaging.sendEmail

I have quite simple code that sends a message with HTML body to a user. Here it is: Messaging.SingleEmailMessage email = new Messaging.SingleEmailMessage(); ...
1
vote
2answers
29 views

Dynamic Account Search Report on Sidebar

The following homepage component passes the value from an HTML input to a URL, using the value as the filter criteria for 3 separate parameter values. Everything works fine, except it doesn't submit ...
1
vote
1answer
31 views

How to edit link properties as underline color in ExactTarget content editor?

Can't find how to change link underline color in content editor. It seems that ET content editor putting underline to all text links by default and you can't remove them at all + link color is ...
7
votes
1answer
43 views

Why doesn't CSS overflow work in Visualforce tab?

Does anyone know how to get the CSS overflow property to work on a Visualforce tab? The concept I'm going for is possible, as demonstrated on JSFiddle. However, I cannot seem to apply the same concept ...
1
vote
1answer
43 views

How can I copy the rule for a Dynamic Content box (created in ET content templates) into my HTML for an HTML paste email?

Should be pretty simple. I set up two different content boxes in ET with 2 different versions of a section of my email. I then created a Dynamic Content rule on when to use either one, using ET's ...
3
votes
3answers
152 views

Exact Target Data Extension and special characters - HTML markup

We have text fields and areas displayed within our Exact Target Landing Pages which had been inserted into a Data Extension text field using AMPscript enabled landing pages. We are using the "pre" tag ...
2
votes
1answer
63 views

Why don't all the labels for my custom form show in the html returned when using getContent()?

I am creating a url to prepopulate values on a custom form by parsing the labels from the html of the form. I am using the getContent() method of the page reference class to get the html of the form ...
0
votes
1answer
273 views

Spaces with Messaging.SingleEmailMessage setHTMLBody method

I'm using the Apex class Messaging.SingleEmailMessage.setHTMLBody() to send an email from Salesforce with prettier than ASCII formatting. For the life of me I can't figure out how to insert an extra ...
0
votes
1answer
119 views

How to save the Custom designed form as a PDF?

I have created a customer signup form using VF page and Html Tags. In Account object I have created one formula field to reach this form via Account object. If the user reach the form via account the ...
5
votes
2answers
234 views

Attempt to get html from visualforce page results in “BLOB is not a valid UTF-8 String”

I'm running into a problem on a specific customer's org when attempting to get the HTML from a custom object's standard 'new' page layout. String objPrefix = ...
1
vote
2answers
76 views

Adding html IE conditional statement in Site.com

There are only two options to specify the DOCTYPE of the page, HTML5 or XHTML 1.0, in site.com but no option to add HTML tag based IE Condition. for e.g, I want to add different html DOCTYPE based on ...
2
votes
1answer
100 views

Display numbers as currency?

I have these 3 fields that I'm calling in my visualforce component. They are all Currency(16, 2), but when I'm calling them in my component, they are being displayed as numbere 1111.00. is there a way ...
2
votes
2answers
81 views

color a row in html? [closed]

I want to set the background color of this row to #C0C0C0 how do i do that? When i do it on the attribute i get a line between the label and the data. when i add it to the nothing happens. i think ...
1
vote
0answers
182 views

Display field value- not label?

I can't get my VF working quite right. Here is the structure of the row of my table. the values were hard coded in the past, but now i want to change it to values of fields. The problem that I'm ...
1
vote
1answer
87 views

Formatting Chatter FeedItem (With Html?)

Is there any way to format a Chatter FeedItem. With html, or with apex methods? I want to be able to create a feedItem that looks like this Sample Chatter Post
1
vote
1answer
86 views

element not rendering even if null

So I'm runining into an issue. the border around the field doesn't render if the field's value is null. When there is a value, it renders fine.. What's going on? what i want is an empty box if the ...
1
vote
1answer
97 views

selectively render sections of a custom component

I want to selectively render the 2 "Changes" sections below if the {!c.any_changes__c == No}. is there a way to group it together in a parent element without messing up the CSS or table? ...
1
vote
1answer
73 views

Field isn't spanning the full table row

I have css applied to a table. I want to make a row span the entire table that says information, highlighted a color, and centered. Instead it's just saying "information" and not centered across the ...
1
vote
1answer
101 views

get and output a substring from withn an email template

in an email template i am getting the 18 char SFDC ID, but most users are only familiar with the 15 chars. from withn the email template, can i output only that?
3
votes
1answer
88 views

Can Salesforce Articles have html content?

Can we have Salesforce articles with HTML content?
5
votes
1answer
711 views

How to prevent html tags rendering as html entities when <apex:outputtext is given escape=“true” to prevent XSS

I have an apex apex:outputtext used in VF page with escape="true". Setting escape = true shows the html entities instead of displaying the required html format. As the code is in managed package this ...
5
votes
3answers
1k views

Highlighting the selected tab using jQueryUI Tabs

I have a header page with links to all the visualforce page as tabs.I need to highlight the tab on select of it. <apex:page title="{!$Label.site.site_login}" showHeader="false" sidebar="false" ...
1
vote
0answers
43 views

Manipulating Salesforce html elements with Autohotkey via COM

I wrote an Autohotkey script that uses COM to automate updating Salesforce opportunities. At some point, the functionality broke. Previously, I could use javascript alerts to determine which HTML ...
2
votes
3answers
580 views

Include both Html page and its CSS content in static resources and reference in Visualforce Page

I have included the html page and its css content in static resource and I am trying to reference the html content in visualforce page.HTML file will be used as header and footer for all of my ...
2
votes
1answer
55 views

Translations for HTML Areas

I have an HTML area and Custom HTML Header / Footer in a customer portal. The portal is being converted to be multi-lingual. Does anyone know of a way to enter translations for HTML areas? If this ...
3
votes
1answer
438 views

How do I add an HTML header to a Communities visual force page?

Here is the basic page. Need to add a HTML header <apex:page language="en_US" standardStylesheets="false" showHeader="false" cache="true"> <body> <chatteranswers:allfeeds ...
3
votes
2answers
2k views

get vf page to open up in parent window?

I have a vf page that is a custom button. That's it. this VF page is on a STD Page Layout. When the user clicks on the VF page, the parent window needs to be redirected to the new URL. The way this ...
2
votes
1answer
94 views

Are Force.com DOM id-elements worthless for Selenium Testing?

I just started with Saleforce/Force.com development. I set up a couple of Selenium tests last week, but they crashed today, since Salesforce upgraded to Version Winter '14 on my Dev Sandbox. My ...
2
votes
1answer
404 views

How to Add Custom CSS Stylesheets to Chatter Communities?

Is it possible to add custom CSS stylesheets to Chatter Communities, without building a completely custom site using Force.com Sites or Site.com? Chatter Communities allows customization by inserting ...
3
votes
1answer
516 views

Not able to see table border drawn by css when renderAs=“pdf”

I am trying to create a invoice. In this invoice i have used css to draw a single line for table. But the the single line table is visible on Vf page but when we renderAs="pdf" the page. The Line ...
0
votes
1answer
1k views

HTML/CSS: In-line Divs

I feel like this is such a simple issues and yet I can't seem to figure out the problem. All I want are two divs to be displayed side by side but yet I keep getting them to display on top of one ...
4
votes
1answer
337 views

AJAX Rendering Corrupts HTML

I started to learn VF a few weeks ago and I created a page (no sidebar, no header) with three sections: 1. Search 2. List of Results 3. View Details I want to use AJAX when the search button is ...
5
votes
2answers
1k views

Display records on next row in table

Hi i want to display a list in table in following way.. rec1 rec2 rec3 rec4 rec5 rec6 rec7 rec8 rec9 rec19 rec11 rec12 Where the records are displayed on the next row when a ...
1
vote
1answer
437 views

Dynamic table in salesforce using HTML

I have a list of record in my controller. I want to display the record into my VF page but don't want to use salesorce components want to display the list into a HTML table 1 by 1. How to achieve ...
2
votes
1answer
238 views

Visual Workflow - Creating Paragraphs and Double Line Breaks

For whatever reason, when I try to create double line breaks using the Visual Workflow HTML editor the 2nd gets removed Tried doing this by just using "Enter" key and editing the actual HTML by ...
5
votes
2answers
1k views

VisualForce page to allow inline editing of EmailTemplate HTML

Thanks for taking a look at my problem. I am building a VisualForce page to email all CampaignMembers associated with a Campaign record. Everything is working except for one little thing: I have an ...
5
votes
2answers
748 views

How to use image in Customer Portal header HTML, without using Image ID?

Documentation says I can choose an HTML file for header image in Customer Portal. Searching on the internet is showing that people have uploaded the image on Documents, and referring to the ID of this ...
0
votes
1answer
191 views

Google Map - infowindow hyperlink

I've set up an embedded google map in my VF page that displays all records within x km. I've added info windows to each of these, with the aim that the user can click on the link in the infowindow and ...
2
votes
2answers
503 views

How do I attach a controller action to an html input

I have this HTML - its a button placed at the end of a search box: <input type="image" name="submit" id="searchSubmit" src="images/searchGif.gif" border="0" /> How do I attach a Controller ...