What is origin of referring number in head of form field_id?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
JerryStevens
New Member
New Member
Posts: 7
Joined: Fri Mar 04, 2011 10:20 am

What is origin of referring number in head of form field_id?

Post by JerryStevens »

Hello, I posted this by accident in the lounge but as it is related to the formbuilder module I thought I better repost here..

In a global content block coded by a previous coder there is an id number referring to a field in a form that is made up of two parts..
#m3b70cfbrp__93?

93 corresponds to the the field_id in the form..
What is the first part "#m3b70cfbrp" - where can I find a place in cmsms admin to see that it is correct?

Thankyou,
Jerry
uniqu3

Re: What is origin of referring number in head of form field

Post by uniqu3 »

looks like Form id.
JerryStevens
New Member
New Member
Posts: 7
Joined: Fri Mar 04, 2011 10:20 am

Re: What is origin of referring number in head of form field

Post by JerryStevens »

Thankyou,
But does anyone know where in cmsms I can check this form_id against as I am not sure it is correct.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: What is origin of referring number in head of form field

Post by Jos »

JerryStevens wrote:In a global content block coded by a previous coder there is an id number referring to a field in a form that is made up of two parts..
#m3b70cfbrp__93?
I think that id is kind of dynamic. You should not address it directly from a GCB like that. The Formbuilder formtemplate would be the more proper place I guess..
JerryStevens
New Member
New Member
Posts: 7
Joined: Fri Mar 04, 2011 10:20 am

Re: What is origin of referring number in head of form field

Post by JerryStevens »

Thankyou,
This is code from a previous coder that no longer works after an upgrade.. What I am trying to work out is where would he have got those numbers from for that form id? They don't appear anywhere in the cmsms or database.. How could I refer to the form now those ids no longer work?
Thankyou
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: What is origin of referring number in head of form field

Post by Dr.CSS »

If you can get the form to render on a page you look in page view source and the number will be there...
JerryStevens
New Member
New Member
Posts: 7
Joined: Fri Mar 04, 2011 10:20 am

Re: What is origin of referring number in head of form field

Post by JerryStevens »

Thankyou,
Given that the earlier replier stated that the number is dynamic what is the better more future-proof way for me to specify this form within the global content block?
Thankyou again
Post Reply

Return to “Modules/Add-Ons”