Same field on form twice

Jamsta1912
Tera Guru

Hello all,

I have a requirement to include a field twice on the same form: once in the main section and once on a separate tab.

The issue is: on the main section it must be read only, and on the other tab it must be writable. So I don’t think I can achieve this the ‘normal’ way with g_form and might have to use DOM manipulation instead (which I have little experience at). Can anyone advise on how best to achieve this?

Thank you 

7 REPLIES 7

Agreed!

Allen Andreas
Administrator
Administrator

I mean, if they HAVE to have it that way and it's just read only on the main form, then an extra step that could be done is create a semi-duplicate of that field that you'd basically keep blank string and then set the default value of it to  the value of that other field, then use UI policy or ACL...really..to make it read only and just copy whatever is in that field onLoad.

Just a suggestion, but the requirement sounds wonky overall.

My method creates an extra field, which is really blah...BUT...doesn't require DOM manip and is really just there to fill in for the requirement.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen. This is actually the approach I took originally, and have stuck with!