Registration form - change submit text / removing role

A place to discuss and receive support for the Web Auction application.

Registration form - change submit text / removing role

Postby yvan » Wed May 06, 2009 11:50 am

I need to apply 2 revisions to the registration form on my site:

1) change the submit button text to read "Register" instead of "Save"
2) remove the "Role" field label and "USER" text

How can I accomplish these things?

I tried updating the "fields.ini" file so that it hides the "role" elements, btw, -- but they're still being shown. I can't figure out how to hide them.

Please advise.

Thanks!
- Yvan
yvan
 
Posts: 13
Joined: Tue Mar 24, 2009 12:48 pm

Postby fongchun » Wed May 06, 2009 12:54 pm

For 1, I've made a blog post about it a while ago. You can find it here.

For 2, you'll probably have edit the permissions of it in the delegate class. So something like this:

Code: Select all
function role__permissions(&$record){
   return Dataface_PermissionsTool::NO_ACCESS()
}


You can edit the function to exactly what you need to hide the role field. What do you mean by "USER" text?
fongchun
 
Posts: 30
Joined: Sun Aug 03, 2008 12:23 am
Location: Vancouver, BC

Postby yvan » Fri May 08, 2009 6:19 am

Thanks so much! Both of your suggestions worked for me.

- Yvan
yvan
 
Posts: 13
Joined: Tue Mar 24, 2009 12:48 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved