⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

I'm learning GC and I need some help!!



lil' ro
  • profile picture
  • Member

Posted 04 November 2015 - 13:01 PM

Hiii sorry for my english  :wacko:

 

When I try to add a new 'object', I don't know how can I do to do the id field readonly with her default value.

 

 

I have a set relation with where and only return that I want but show it like a combobox.

 

How can i do to show the only one result without being able to modify it??

 

 

Thanxs


lil' ro
  • profile picture
  • Member

Posted 05 November 2015 - 08:08 AM

is a silly question?

can be done?


lil' ro
  • profile picture
  • Member

Posted 05 November 2015 - 20:00 PM

:unsure:


Amit Shah
  • profile picture
  • Member

Posted 06 November 2015 - 09:13 AM

sorry failed to understand.. can u please elaborate as what is the situation .. u need help onto?


0ome0
  • profile picture
  • Member

Posted 07 November 2015 - 13:15 PM

I think first you must set read only on your field

and second your can use call back function to assign value (default value) to field or you can use default value in database when create table.