Results 1 to 4 of 4

Thread: Custom field form

  1. #1
    Andros is offline Active Member
    Join Date
    Sep 2001
    Posts
    179

    Default Custom field form

    I have the following custom field form rows coding:
    <div>
    <label><%t%>Hotel Rating<%/t%></label>
    <label><%$ratings%></label>
    <label><%t%>Number of Rooms<%/t%></label>
    <label><%$nrooms%></label>
    <label class="f_entry"><%$form_field%></label>
    </div>


    Why is the lable showing twice above each field? How can I correct it?

  2. #2
    Gus
    Gus is offline Registered User
    Join Date
    Aug 2008
    Location
    Paris, France
    Posts
    46

    Smile Worth trying, I think

    Maybe you should try this or something close to this :

    <div>
    <form>

    <label for="ratings"><%t%>Hotel Rating<%/t%></label>
    <input type="text" name="ratings" value="<%$ratings%>" readonly />

    <label for="nrooms"><%t%>Number of Rooms<%/t%></label>
    <input type="text" name="nrooms" value="<%$nrooms%>" readonly />
    <input class="f_entry" type="text" value="<%$form_field%>" readonly />

    </form>
    </div>

    Gus

  3. #3
    pungky's Avatar
    pungky is offline Super Moderator
    Join Date
    Mar 2009
    Posts
    143

    Default

    Can you tell me where is the place you put the code? in what line?

  4. #4
    Andros is offline Active Member
    Join Date
    Sep 2001
    Posts
    179

    Default

    Here is the complete custom_field_form_rows.html file

    <%$hook_html_custom_field_form_rows_begin%>
    <div>
    <label><%t%>Hotel Rating<%/t%></label>
    <label><%$ratings%></label>
    <label><%t%>Number of Rooms<%/t%></label>
    <label><%$nrooms%></label>
    <label class="f_entry"><%$form_field%></label>
    </div>
    <%$hook_html_custom_field_form_rows_end%>

Similar Threads

  1. submit form, custom fields and email
    By firebird1972 in forum INDEXU DELUXE v1.x
    Replies: 5
    Last Post: 07-11-2008, 06:48 PM
  2. custom form fields
    By galwegian in forum v5.x
    Replies: 5
    Last Post: 12-20-2007, 11:37 PM
  3. custom mail form help?
    By smyhte in forum v5.x
    Replies: 1
    Last Post: 08-20-2007, 10:12 AM
  4. Custom fields in New Ticket form in iDesk?
    By shDave in forum iDesk - Customer Service Helpdesk
    Replies: 0
    Last Post: 09-28-2005, 03:32 PM
  5. custom form field
    By acio in forum v5.x
    Replies: 1
    Last Post: 05-26-2003, 03:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •