function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Naveen MosuruNaveen Mosuru 

How can I remove a hyperlink when rendering a visualforce page using Field Set.

CODE:

<table  style="-fs-table-paginate: paginate;" cellspacing="0" cellpadding="0">
                            <tr Style= "white-space: normal;">
                                <apex:repeat var="f" value="{!$ObjectType.sObjectName.FieldSets.FieldSetName}">
                                    <th style="border:1px solid #9039E9;padding:1px 1px;border-collaps;">
                                        <apex:outputText styleClass="bold" style="color:#fff;" value="{!$ObjectType.sObjectName.Fields[f].label}"/>
                                    </th>
                                </apex:repeat>
                            </tr>
                            <apex:repeat var="adpub" value="{!diagnoses}">
                                <tr >
                                    <apex:repeat var="f" value="{!$ObjectType.sObjectName.FieldSets.FieldSetName}">
                                        <td style="border:1px solid #9039E9;padding:3px 5px;border-collaps;">
                                            <apex:outputField value="{!adpub[f]}" />
                                            <!--<apex:outputText value="{!adpub[f]}" />-->
                                        </td>
                                    </apex:repeat>
                                </tr>
                            </apex:repeat>
                        </table>