[SOLVED] FormBuilder: need to change the type of one field

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
loukote
Forum Members
Forum Members
Posts: 58
Joined: Thu Mar 29, 2007 10:12 am

[SOLVED] FormBuilder: need to change the type of one field

Post by loukote »

Hi.
I need to change the type of one field on a running form, ie. a form that already have responses on a live site. Can I change one field from Hidden to Text? What will happen to all the already saved responses? (The filed definition is a part of each response XML file in the DB.)
Thanks for your answers.
Last edited by loukote on Fri Feb 25, 2011 11:23 am, edited 1 time in total.
RytoEX
Forum Members
Forum Members
Posts: 29
Joined: Thu Jan 07, 2010 10:32 am

Re: FormBuilder: need to change the type of one field

Post by RytoEX »

At the moment, I do not believe there is an easy way to do this. May I ask, why do you need to change the field from Hidden to Text?
User avatar
loukote
Forum Members
Forum Members
Posts: 58
Joined: Thu Mar 29, 2007 10:12 am

Re: FormBuilder: need to change the type of one field

Post by loukote »

RytoEX wrote:At the moment, I do not believe there is an easy way to do this.
RytoEX, thanks for your answer.
RytoEX wrote:May I ask, why do you need to change the field from Hidden to Text?
Before the possibility to call a UDT and to show a result to the user I needed to perform a calculation based on the entered values and selected checkboxes. Since the users can be trusted (no wanted mis-use) javascript was the option and the results have been assigned to the values of the hidden fields.

All good until this version -- the way the data is stored has completely changed with the new version (XML in a DB field for each response) and so it is much more difficult to update these responses via an interface that i programmed (because it is impossible to edit the values of the hidden fields in the admin interface; why? what are they used for?)

Do you see another way to do what i need?
RytoEX
Forum Members
Forum Members
Posts: 29
Joined: Thu Jan 07, 2010 10:32 am

Re: FormBuilder: need to change the type of one field

Post by RytoEX »

I'm sorry, but I don't think that I understand what it is that you're trying to do.

However, in response to...
loukote wrote:because it is impossible to edit the values of the hidden fields in the admin interface; why? what are they used for?
I assume that you mean Bug 1822? A patch was applied to Form Builder in SVN that allows the editing of Hidden Fields in the Admin Form Browser interface. I do not know when a new version will be officially released, but you could try the SVN version and see if that solves your problem.
User avatar
loukote
Forum Members
Forum Members
Posts: 58
Joined: Thu Mar 29, 2007 10:12 am

Re: FormBuilder: need to change the type of one field

Post by loukote »

RytoEX wrote:I'm sorry, but I don't think that I understand what it is that you're trying to do.

I assume that you mean Bug 1822?
Well, you probably remember you submitted the patch (8/2010), while i don't have a clue that i submitted the bug (9/2007) ;)

Thanks for the solution! I hurry to test it.
RytoEX
Forum Members
Forum Members
Posts: 29
Joined: Thu Jan 07, 2010 10:32 am

Re: FormBuilder: need to change the type of one field

Post by RytoEX »

If you needed the ability to edit hidden fields, those changes are in the recently released Form Builder 0.7 and Form Browser 0.4. If these solve your problem, please let us know, and don't forget to add "[SOLVED]" to the thread title.
User avatar
loukote
Forum Members
Forum Members
Posts: 58
Joined: Thu Mar 29, 2007 10:12 am

Re: FormBuilder: need to change the type of one field

Post by loukote »

RytoEX wrote:If you needed the ability to edit hidden fields, those changes are in the recently released Form Builder 0.7 and Form Browser 0.4. If these solve your problem, please let us know, and don't forget to add "[SOLVED]" to the thread title.
Yes, it did solve the issue. Thak you!
RytoEX
Forum Members
Forum Members
Posts: 29
Joined: Thu Jan 07, 2010 10:32 am

Re: [SOLVED] FormBuilder: need to change the type of one fie

Post by RytoEX »

You're welcome! Glad to be of help!
Post Reply

Return to “Modules/Add-Ons”