copy a value from text field to lookup inside a repeater

By: Khaldoun Dahnous | Asked: 07/23/2024
ForumsCategory: Paid Help Wantedcopy a value from text field to lookup inside a repeater
Khaldoun Dahnous asked 4 months ago
Hello ,   I am using thus guide to copy a text value to lookup , can this code work if both fields are inside a repeater ?   Thanks   https://formidableforms.com/knowledgebase/lookup/#kb-compatible-field-types
2 Answers
Luke M answered 4 months ago
Try this way... Display your form in a browser, click right mouse button -> inspect on the fields inside repeater, Look at field id in browser dev tools and adjust the script accordingly. 
Victor Font answered 4 months ago
Let me see if I understand your question. You want to have a lookup field and a second field watching the lookup field in a repeater, is that correct? I don't see why this wouldn't work, have you tried it? The Formidable Knowledgebase is quiet on the issue, but a repeater is an embedded form. Since lookup/watch fields work on a parent form, it should work on an embedded form as well. The simplest thing to do is try it and see if it works.
Khaldoun Dahnous replied 4 months ago

<p> really i tried this guide <a href="https://formidableforms.com/knowledgebase/lookup/#kb-copy-value-to-a-lookup-field&quot; rel="nofollow">https://formidableforms.com/knowledgebase/lookup/#kb-copy-value-to-a-lookup-field</a&gt; In after fields section , it worked in sections but didnt work in repeater</p><p>Many thanks ,</p>

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right