Unique IDs

Home Forums Quform WordPress Unique IDs

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12425
    viveramedia
    Participant

    I need to make it so my form elements have unique IDs (in order to use a postcode lookup service).

    For some reason the unique ID fields are read-only and I cannot change them.

    Can you let me know how I can do this and if I do change it, will the element’s id be exactly the same and not change on each refresh as it does now?

    Thanks,

    Dave

    #12458
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #12469
    viveramedia
    Participant

    Hi Ally,

    Sorry, i’ve tried every combination of id’s etc but can’t get it to work!

    I’ve tried: ]

    function address1current()
    {
    return ‘address1current’;
    }
    add_filter(‘iphorm_form_unique_id_1_14’, ‘address1current’);

    function address1current()
    {
    return ‘address1current’;
    }
    add_filter(‘iphorm_form_unique_id_iphorm_1_14’, ‘address1current’);

    The ID of my element is iphorm_1_14

    Thanks,

    Dave

    #12470
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #12472
    viveramedia
    Participant

    Ah I get you….!

    All working now, great stuff, thank you!

    Cheers,

    Dave

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy