Forums

Test Task from CC

renas 30 Jul, 2013
Hi,

This is probably very simple. But i want to disable the text boxes in CF if the viewer is not the owner.

This work's properly, my problem is to know when the CC is editing. I do see in the form a "cc_edit_data".

How can i test this?
If i create a text_box with this id this get's populated and CC will try to record this on database with error as the field does not exist.

Tks for your help. 😶
GreyHead 31 Jul, 2013
Hi renas,

I'm nost sure of the specifics here but I think that I would use a View option if the User is not the owner and only enable Edit for the owner themself.

Bob
renas 31 Jul, 2013
Hi GreyHead,

Tks for your help.
The problem is that could be a new one. In this case the user do not have an id. It could be a workaround. The form always have a "task". Is it possible to test it?

Tks
GreyHead 01 Aug, 2013
Hi renas,

If they are a new user then they have no records to edit. I'm not sure why that is a problem?

Bob
This topic is locked and no more replies can be posted.