Page 1 of 1
What is origin of referring number in head of form field_id?
Posted: Thu Feb 16, 2012 11:16 am
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
Re: What is origin of referring number in head of form field
Posted: Thu Feb 16, 2012 12:12 pm
by uniqu3
looks like Form id.
Re: What is origin of referring number in head of form field
Posted: Fri Feb 17, 2012 6:19 am
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.
Re: What is origin of referring number in head of form field
Posted: Fri Feb 17, 2012 10:54 am
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..
Re: What is origin of referring number in head of form field
Posted: Fri Feb 17, 2012 11:40 am
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
Re: What is origin of referring number in head of form field
Posted: Fri Feb 17, 2012 5:10 pm
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...
Re: What is origin of referring number in head of form field
Posted: Sat Feb 18, 2012 6:07 am
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