Expand my Community achievements bar.

How do i dynamically hide "Submit" button from the form while rendering from server to client

Avatar

Level 7

Hi,

Can anyone please let me knw how do I make a Submit button invisible when i render it to clients browser.

Actually i want to use the same form for capuring User detials when he clicks on submit button and what to show the user (without submit button) all the detials in view mode.

Please let me knw any code snippet which i can use at server side to hide the submit button in view mode.

thanks in advance

Regards

Sunil Gupta

3 Replies

Avatar

Level 10

I'm not sure I understand when you want to submit button to show or not show.

The script would be button.presence="invisible", but you need to put it in the right event.

Jasmin

Avatar

Level 7

Jasmin,

Yaa u understood correctly. I want to show or not to show submit button. This discission i want on server side.

How do i set this discisson on server side before rendering it.

Regards

Sunil

Avatar

Level 7

Jasmin,

I want to know from server side how can i set property of a control on form while rendering.

regards

Sunil