Home › Forums › Quform WordPress › Unique IDs
- This topic has 4 replies, 2 voices, and was last updated 12 years ago by
viveramedia.
- AuthorPosts
- September 15, 2014 at 6:12 pm #12425
viveramedia
ParticipantI 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
September 17, 2014 at 12:44 pm #12458Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 17, 2014 at 1:25 pm #12469viveramedia
ParticipantHi 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
September 17, 2014 at 1:28 pm #12470Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 17, 2014 at 1:30 pm #12472viveramedia
ParticipantAh I get you….!
All working now, great stuff, thank you!
Cheers,
Dave
- AuthorPosts
- You must be logged in to reply to this topic.
