⚠ 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

Default field values



coderr

coderr
  • profile picture
  • Member

Posted 22 November 2011 - 15:41 PM

Hello,
Quick question...
I'd like to pre-fill my add/edit forms with default values. Is this functionality available/already done (can't find it in the docs), or should I attempt to add in another function for this purpose?

Thanks in advance for any replies!

rafael84

rafael84
  • profile picture
  • Member

Posted 27 December 2011 - 20:27 PM

Hi coderr, check my suggestion here: /topic/61-default-field-values-for-add-form/

DrPaul

DrPaul
  • profile picture
  • Member

Posted 10 August 2014 - 12:35 PM

I've been able to get defaults on add forms (surely you don't want them on edit forms?) with one helper function and a change to one line of GC code - details are at the end of this thread:

 

/topic/1680-how-to-get-default-values-from-the-database/