[SalesForce] Insert a blank date value in URL hacking

In URL hacking, how do you insert a blank string value for a date? We have a button that we're implementing that is like the clone button, with a couple of changes. It breaks when I try to clear out the date field. By breaks, I mean it looks like the record tries to save, and then fails because there are pagelayout security issues

I tried the following values for opp9:

%00 (null)

%20 (space)

+ (space)

/{!Opportunity.Id}/e?clone=1&00N30000008Qqoc=This+Opportunity+was+Cloned&opp7=0.00&opp9=&retURL=%2F{!Opportunity.Id}}

Any ideas?

Ref: http://www.w3schools.com/charsets/ref_html_ascii.asp

Best Answer

Have you tried actually leaving it blank? I tried this in my dev org and it worked (it brought up the page with the CloseDate cleared out).

/{!Opportunity.Id}/e?clone=1&opp7=0.00&opp9=&retURL=%2F{!Opportunity.Id}

Notice I use opp9= and leave it completely blank and move on to the next parameter.

Related Topic