Results 1 to 6 of 6

Thread: submit form, custom fields and email

  1. #1
    Join Date
    Jul 2008
    Posts
    9

    Smile submit form, custom fields and email

    Hi

    Sorry... Two part question to get three things sorted )

    1. How do I remove the 'required' element as well as a form I do not want to use. For example, I do not want URL as a required form (some listings will not always be websites) and I also want to remove the DESCRIPTION and required element.

    I can see where to take away the form, but not the required field.

    2. If I have set custom forms with MULTISELECT, how do I then get that result to show in results? For example, in detail_link I have the below with should display YES or NO accordingly, but gives a blank?

    <label><%t%>Baby Facilities<%/t%></label>
    <span class="text"><%$baby%></span>

    3. Unless I am doing something very dumb... when I test 'add to mailing list' and click on confirmation link in email recieved, it actually sends to 'We have REMOVED you from our mail list' !! Is there a fix for this.

    Thanks,
    Sorry to bombard you with questions; website is http://www.dorsetdaysout.co.uk - Delux edition

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    1) Remove the following from add.php to remove the URL from being required

    elseif (empty($url) || $url == 'http://')
    $error_msg = $msg["10102"];

    Remove the following from add.php to remove the description from being required

    elseif (empty($description))
    $error_msg = $msg["10103"];

    2) Your custom field needs to be named exactly as it was created. If it is called baby then using <%$baby%> is correct. Try clearing the IndexU cache as this may be the issue.

    3) I have confirmed the issue. This appears to be a bug. The user IS added to the mailing list, but they are given the incorrect message. You can edit phrases.php and find the following

    $lang['mailing_list_sub_ok'] = _("Thank you. Your email address has been added to our mailing list.");
    $lang['mailing_list_sub_confirm'] = _("Thank you. You need to confirm your subscription before we add your email address to our database. We have sent you an email that contains information on how to confirm your subscription.");
    $lang['mailing_list_sub_ok'] = _("Your email address has been removed from our mailing list.");

    Remove the following line

    $lang['mailing_list_sub_ok'] = _("Your email address has been removed from our mailing list.");

    That's it. The line was included twice by accident. Removing the second one fixes the issue.

  3. #3
    Join Date
    Jul 2008
    Posts
    9

    Default

    I try that email fix later, thanks.

    Is there anything else I could be doing wrong with the custom fields. I have done as you say; and everything seems OK .

    The problem only seems to be with multiselect or select options. eg- a drop down with choices.

    I just cant get the detail to show the responce of that choice? works fine for text fields.

    If this is to much to sort, I could simply have it so they type the choice, but would far rather use the drop down.

    Any suggestions appreciated

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Did you enter the possible choices when you created the custom field? If so how did you add them?

    Right on the custom field page are the instructions

    Set this only for 'select', 'multiselect', 'checkbox' and
    'radio' type field. You can specify one option each line. The value and text are separated by | sign.
    Example :
    1|First Option
    2|Second Option
    3|next option
    4|next option
    5|next option
    6|next option
    etc

    If the options are not in that format they will not display at all.

    Your last option is to send me your indexu URL and login to support [at] nicecoder.com

  5. #5
    Join Date
    Jul 2008
    Posts
    9

    Default

    I'm an idiot! I had spaces between the number and choice eg 1 | Choice !!

    Sorted. Thanks.

    I'll ask here, if you dont reply, I will submit as new;

    I have noticed my SEO friendly page names have gone?

    eg:
    http://www.dorsetdaysout.co.uk/detail.php?linkid=4

    should be something like

    http://www.dorsetdaysout.co.uk/farms/falmer-palmers

    I know this worked on the trial version, so am sure there is no prob with my server. What should I adjust to get this back?

    Thanks

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    First ensure that mod_rewrite is enabled, then update your category paths.

Similar Threads

  1. custom form fields
    By galwegian in forum v5.x
    Replies: 5
    Last Post: 12-20-2007, 10:37 PM
  2. Custom fields in New Ticket form in iDesk?
    By shDave in forum iDesk - Customer Service Helpdesk
    Replies: 0
    Last Post: 09-28-2005, 02:32 PM
  3. Add Fields To Submit form
    By 4webmasters in forum v5.x
    Replies: 2
    Last Post: 06-17-2004, 11:37 PM
  4. Add Fields To Submit form & link display
    By 4webmasters.us in forum v5.x
    Replies: 9
    Last Post: 05-03-2003, 07:38 PM
  5. Replies: 0
    Last Post: 09-20-2002, 10:13 PM

Posting Permissions

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