Show and pass hidden value in forms

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Show and pass hidden value in forms

RamKrishna Swamy
Hi list,

I have to show a field as text and pass this value as hidden to a service in
form widget, how will this be done.
Plz help, thanks in advance.

--
Thanks
Ramkrishna
Reply | Threaded
Open this post in threaded view
|

Re: Show and pass hidden value in forms

Bilgin Ibryam-2
Ramkrishna Swamy wrote:
> Hi list,
>
> I have to show a field as text and pass this value as hidden to a service in
> form widget, how will this be done.
> Plz help, thanks in advance.
>
>  
You have to use a "display" element with also-hidden=true attribute
inside a form field.

Bilgin
Reply | Threaded
Open this post in threaded view
|

Re: Show and pass hidden value in forms

RamKrishna Swamy
Hi Bilgin,

I have to show field in editable mode and want to pass as hidden field to
service, display only shows the filed but not in editable mode.

--
Thanks
Ramkrishna

On Mon, Jan 11, 2010 at 2:44 PM, Bilgin Ibryam <[hidden email]> wrote:

> Ramkrishna Swamy wrote:
>
>> Hi list,
>>
>> I have to show a field as text and pass this value as hidden to a service
>> in
>> form widget, how will this be done.
>> Plz help, thanks in advance.
>>
>>
>>
> You have to use a "display" element with also-hidden=true attribute inside
> a form field.
>
> Bilgin
>
Reply | Threaded
Open this post in threaded view
|

Re: Show and pass hidden value in forms

Kumaraswamy nandipati
Hi RamaKrishna,

I think you can achieve this using JavaScript.

On Mon, Jan 11, 2010 at 3:03 PM, Ramkrishna Swamy <
[hidden email]> wrote:

> Hi Bilgin,
>
> I have to show field in editable mode and want to pass as hidden field to
> service, display only shows the filed but not in editable mode.
>
> --
> Thanks
> Ramkrishna
>
> On Mon, Jan 11, 2010 at 2:44 PM, Bilgin Ibryam <[hidden email]> wrote:
>
> > Ramkrishna Swamy wrote:
> >
> >> Hi list,
> >>
> >> I have to show a field as text and pass this value as hidden to a
> service
> >> in
> >> form widget, how will this be done.
> >> Plz help, thanks in advance.
> >>
> >>
> >>
> > You have to use a "display" element with also-hidden=true attribute
> inside
> > a form field.
> >
> > Bilgin
> >
>



--
Thanks,
Kumaraswamy.N
91-9866805250.
Reply | Threaded
Open this post in threaded view
|

Re: Show and pass hidden value in forms

Sumit Pandit-3
In reply to this post by RamKrishna Swamy
Hi Ramkrishna,

Please look at */framework/example/widget/example/ExampleForms.xml file, here form - "EditExample" would help you to display fields on page. On submit, fields would passed as a parameters to the targeted request. And then if you want it in service, please keep formFieldName and service IN parameter name same.

Thanks And Regards
Sumit Pandit

On Jan 11, 2010, at 3:03 PM, Ramkrishna Swamy wrote:

> Hi Bilgin,
>
> I have to show field in editable mode and want to pass as hidden field to
> service, display only shows the filed but not in editable mode.
>
> --
> Thanks
> Ramkrishna
>
> On Mon, Jan 11, 2010 at 2:44 PM, Bilgin Ibryam <[hidden email]> wrote:
>
>> Ramkrishna Swamy wrote:
>>
>>> Hi list,
>>>
>>> I have to show a field as text and pass this value as hidden to a service
>>> in
>>> form widget, how will this be done.
>>> Plz help, thanks in advance.
>>>
>>>
>>>
>> You have to use a "display" element with also-hidden=true attribute inside
>> a form field.
>>
>> Bilgin
>>