RSS Feed/News <xf:option question

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,933
Points
823

Reputation:

How do I use 'selected' attribute in XF template, like
HTML:

<option value="second" selected>Second Value</option>
?

HTML:

<xf:option value="normal" selected>Normal</xf:option>
throws me an error
"Template Compilation Error
public:av_notes_edit - Line 17: Syntax error - Template name: public:av_notes_edit
"
here is my form

Code:

Code:
<xf:title>
    <xf:if is="$note.note_id">
        Edit note
        <xf:else />
        Add new note
    </xf:if>
</xf:title>

<xf:form action="{{...

Read more

Continue reading...
 
Status
Not open for further replies.
Top